pub struct DeserializeDefinitionShape {
pub id: ShapeId,
pub type_name: TypeName,
pub description: Option<&'static str>,
pub kind: DeserializeDefinitionKind,
}Expand description
A named type definition in a deserialization shape graph.
Fields§
§id: ShapeIdThe stable id of this definition inside its graph.
type_name: TypeNameThe Rust and Serde names for this definition.
description: Option<&'static str>User-facing documentation for this definition, if available.
kind: DeserializeDefinitionKindThe definition body.
Trait Implementations§
Source§impl Clone for DeserializeDefinitionShape
impl Clone for DeserializeDefinitionShape
Source§fn clone(&self) -> DeserializeDefinitionShape
fn clone(&self) -> DeserializeDefinitionShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeserializeDefinitionShape
impl Debug for DeserializeDefinitionShape
impl Eq for DeserializeDefinitionShape
impl StructuralPartialEq for DeserializeDefinitionShape
Auto Trait Implementations§
impl Freeze for DeserializeDefinitionShape
impl RefUnwindSafe for DeserializeDefinitionShape
impl Send for DeserializeDefinitionShape
impl Sync for DeserializeDefinitionShape
impl Unpin for DeserializeDefinitionShape
impl UnsafeUnpin for DeserializeDefinitionShape
impl UnwindSafe for DeserializeDefinitionShape
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