pub struct ModuleHelloAckBody {
pub negotiated_ver: u8,
pub subc_ops: Vec<String>,
pub subc_capabilities: Vec<String>,
pub storage: Option<Value>,
}Expand description
subc-to-module HELLO_ACK body used during module registration.
Fields§
§negotiated_ver: u8§subc_ops: Vec<String>§subc_capabilities: Vec<String>§storage: Option<Value>The module’s resolved storage descriptor, when the daemon’s central config
configures managed storage. Carried opaquely here (subc-protocol stays a
thin wire crate with no storage/database dependency); a module that uses
managed storage deserializes it into cortexkit_store_types::StorageDescriptor
and hands it to cortexkit-store. Absent when no storage is configured, and
serde(default) so an older module simply ignores it.
Trait Implementations§
Source§impl Clone for ModuleHelloAckBody
impl Clone for ModuleHelloAckBody
Source§fn clone(&self) -> ModuleHelloAckBody
fn clone(&self) -> ModuleHelloAckBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModuleHelloAckBody
impl Debug for ModuleHelloAckBody
Source§impl<'de> Deserialize<'de> for ModuleHelloAckBody
impl<'de> Deserialize<'de> for ModuleHelloAckBody
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
impl Eq for ModuleHelloAckBody
Source§impl PartialEq for ModuleHelloAckBody
impl PartialEq for ModuleHelloAckBody
Source§fn eq(&self, other: &ModuleHelloAckBody) -> bool
fn eq(&self, other: &ModuleHelloAckBody) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModuleHelloAckBody
impl Serialize for ModuleHelloAckBody
impl StructuralPartialEq for ModuleHelloAckBody
Auto Trait Implementations§
impl Freeze for ModuleHelloAckBody
impl RefUnwindSafe for ModuleHelloAckBody
impl Send for ModuleHelloAckBody
impl Sync for ModuleHelloAckBody
impl Unpin for ModuleHelloAckBody
impl UnsafeUnpin for ModuleHelloAckBody
impl UnwindSafe for ModuleHelloAckBody
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