pub struct StructSignature {
pub name: String,
pub fields: FieldMap,
}
Expand description
Signatures of struct-like type definitions.
Fields§
§name: String
The name of the struct.
fields: FieldMap
The fields in this struct.
Implementations§
Trait Implementations§
Source§impl Clone for StructSignature
impl Clone for StructSignature
Source§fn clone(&self) -> StructSignature
fn clone(&self) -> StructSignature
Returns a copy of the value. Read more
1.0.0 · 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 StructSignature
impl Debug for StructSignature
Source§impl Default for StructSignature
impl Default for StructSignature
Source§fn default() -> StructSignature
fn default() -> StructSignature
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StructSignature
impl<'de> Deserialize<'de> for StructSignature
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 PartialEq for StructSignature
impl PartialEq for StructSignature
Source§impl Serialize for StructSignature
impl Serialize for StructSignature
impl StructuralPartialEq for StructSignature
Auto Trait Implementations§
impl Freeze for StructSignature
impl RefUnwindSafe for StructSignature
impl Send for StructSignature
impl Sync for StructSignature
impl Unpin for StructSignature
impl UnwindSafe for StructSignature
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