pub struct SsdFile {
pub namespace: Namespace,
pub imports: Vec<Import>,
pub data_types: OrderedMap<DataType>,
pub enums: OrderedMap<Enum>,
pub services: OrderedMap<Service>,
}Expand description
The file containing definitions
Fields§
§namespace: NamespaceThe namespace of the file. This corresponds to the path the file is located, except with :: instead of /
imports: Vec<Import>The imports of the file.
data_types: OrderedMap<DataType>The data types described in the file
enums: OrderedMap<Enum>The enums described in the file
services: OrderedMap<Service>The services described in the file
Trait Implementations§
source§impl<'de> Deserialize<'de> for SsdFile
impl<'de> Deserialize<'de> for SsdFile
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 RefUnwindSafe for SsdFile
impl Send for SsdFile
impl Sync for SsdFile
impl Unpin for SsdFile
impl UnwindSafe for SsdFile
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