pub struct SsdModule {
pub namespace: Namespace,
pub imports: Vec<Import>,
pub data_types: Vec<(String, DataType)>,
pub enums: Vec<(String, Enum)>,
pub services: Vec<(String, Service)>,
}Fields§
§namespace: Namespace§imports: Vec<Import>§data_types: Vec<(String, DataType)>§enums: Vec<(String, Enum)>§services: Vec<(String, Service)>Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for SsdModule
impl<'de> Deserialize<'de> for SsdModule
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SsdModule, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SsdModule, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SsdModule
impl PartialEq for SsdModule
source§impl Serialize for SsdModule
impl Serialize for SsdModule
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SsdModule
Auto Trait Implementations§
impl Freeze for SsdModule
impl RefUnwindSafe for SsdModule
impl Send for SsdModule
impl Sync for SsdModule
impl Unpin for SsdModule
impl UnwindSafe for SsdModule
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
source§impl<T> Variant for T
impl<T> Variant for T
source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert this
Variant trait object to &mut dyn Any.source§fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
Convert this
Variant trait object to Box<dyn Any>.