pub struct ScopedClient {
pub factory_name: String,
pub client_name: String,
pub scope_fields: Vec<FieldDef>,
pub inner_request_variants: Vec<UnionVariant>,
pub inner_response_variants: Vec<UnionVariant>,
pub capnp_inner_response: String,
pub nested_clients: Vec<ScopedClient>,
}Expand description
A scoped client detected from nested union patterns in the schema.
Fields§
§factory_name: StringFactory method name on parent client (e.g., “repo”, “session”)
client_name: StringGenerated client struct name (e.g., “RepositoryClient”, “ModelSessionClient”)
scope_fields: Vec<FieldDef>Curried scope fields from the inner struct
inner_request_variants: Vec<UnionVariant>Inner union variants from the request struct
inner_response_variants: Vec<UnionVariant>Inner union variants from the response struct
capnp_inner_response: StringCap’n Proto module name for the inner response struct (snake_case)
nested_clients: Vec<ScopedClient>Nested scoped clients detected within this scope (e.g., Fs within Repository)
Trait Implementations§
Source§impl Debug for ScopedClient
impl Debug for ScopedClient
Source§impl<'de> Deserialize<'de> for ScopedClient
impl<'de> Deserialize<'de> for ScopedClient
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ScopedClient
impl RefUnwindSafe for ScopedClient
impl Send for ScopedClient
impl Sync for ScopedClient
impl Unpin for ScopedClient
impl UnsafeUnpin for ScopedClient
impl UnwindSafe for ScopedClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more