pub struct Struct { /* private fields */ }
Implementations§
Source§impl Struct
impl Struct
pub const NAMESPACE: Uuid
pub fn builder( schema: impl Into<String>, name: impl Into<String>, ) -> StructBuilder
pub fn lexical_id(&self) -> LexicalId
pub fn schema(&self) -> &str
pub fn name(&self) -> &str
pub fn fields(&self) -> &BTreeMap<u32, Field>
pub fn fallback(&self) -> Option<&str>
Trait Implementations§
Source§impl Deserialize for Struct
impl Deserialize for Struct
fn deserialize( deserializer: Deserializer<'_, '_>, ) -> Result<Self, DeserializeError>
Source§impl Ord for Struct
impl Ord for Struct
Source§impl PartialOrd for Struct
impl PartialOrd for Struct
Source§impl Serialize for Struct
impl Serialize for Struct
fn serialize(&self, serializer: Serializer<'_>) -> Result<(), SerializeError>
impl Eq for Struct
impl StructuralPartialEq for Struct
Auto Trait Implementations§
impl Freeze for Struct
impl RefUnwindSafe for Struct
impl Send for Struct
impl Sync for Struct
impl Unpin for Struct
impl UnwindSafe for Struct
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