pub struct ModuleSpecification {
pub annotations: Annotations,
pub types: IndexMap<String, Documented<TypeSpecification>>,
pub values: IndexMap<String, Documented<ValueSpecification>>,
pub doc: Option<Documentation>,
}Expand description
Module specification (public API only)
Fields§
§annotations: AnnotationsThe annotations on the module’s public face, written first and only when non-empty (definitions-0022).
types: IndexMap<String, Documented<TypeSpecification>>§values: IndexMap<String, Documented<ValueSpecification>>§doc: Option<Documentation>Trait Implementations§
Source§impl Clone for ModuleSpecification
impl Clone for ModuleSpecification
Source§impl Debug for ModuleSpecification
impl Debug for ModuleSpecification
Source§impl<'de> Deserialize<'de> for ModuleSpecification
impl<'de> Deserialize<'de> for ModuleSpecification
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
Source§impl LinkedMetadataCarrier for ModuleSpecification
impl LinkedMetadataCarrier for ModuleSpecification
fn contains_linked_metadata(&self) -> bool
Source§impl PartialEq for ModuleSpecification
impl PartialEq for ModuleSpecification
Source§impl Serialize for ModuleSpecification
impl Serialize for ModuleSpecification
impl StructuralPartialEq for ModuleSpecification
Auto Trait Implementations§
impl Freeze for ModuleSpecification
impl RefUnwindSafe for ModuleSpecification
impl Send for ModuleSpecification
impl Sync for ModuleSpecification
impl Unpin for ModuleSpecification
impl UnsafeUnpin for ModuleSpecification
impl UnwindSafe for ModuleSpecification
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