pub struct TypeSnapshot {
pub name: String,
pub kind: String,
pub definition: String,
}Expand description
Snapshot of a custom type (enum, composite, etc.)
Fields§
§name: StringType name
kind: StringType kind (enum, composite, domain, etc.)
definition: StringType definition (normalized)
Trait Implementations§
Source§impl Clone for TypeSnapshot
impl Clone for TypeSnapshot
Source§fn clone(&self) -> TypeSnapshot
fn clone(&self) -> TypeSnapshot
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 TypeSnapshot
impl Debug for TypeSnapshot
Source§impl<'de> Deserialize<'de> for TypeSnapshot
impl<'de> Deserialize<'de> for TypeSnapshot
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
impl Eq for TypeSnapshot
Source§impl PartialEq for TypeSnapshot
impl PartialEq for TypeSnapshot
Source§fn eq(&self, other: &TypeSnapshot) -> bool
fn eq(&self, other: &TypeSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TypeSnapshot
impl Serialize for TypeSnapshot
impl StructuralPartialEq for TypeSnapshot
Auto Trait Implementations§
impl Freeze for TypeSnapshot
impl RefUnwindSafe for TypeSnapshot
impl Send for TypeSnapshot
impl Sync for TypeSnapshot
impl Unpin for TypeSnapshot
impl UnsafeUnpin for TypeSnapshot
impl UnwindSafe for TypeSnapshot
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