pub struct IdlTypeDefSnapshot {
pub name: String,
pub docs: Vec<String>,
pub type_def: IdlTypeDefKindSnapshot,
}Expand description
Type definition (struct or enum)
Fields§
§name: StringType name
docs: Vec<String>Documentation
type_def: IdlTypeDefKindSnapshotType definition (struct or enum)
Trait Implementations§
Source§impl Clone for IdlTypeDefSnapshot
impl Clone for IdlTypeDefSnapshot
Source§fn clone(&self) -> IdlTypeDefSnapshot
fn clone(&self) -> IdlTypeDefSnapshot
Returns a duplicate 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 IdlTypeDefSnapshot
impl Debug for IdlTypeDefSnapshot
Source§impl<'de> Deserialize<'de> for IdlTypeDefSnapshot
impl<'de> Deserialize<'de> for IdlTypeDefSnapshot
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
Auto Trait Implementations§
impl Freeze for IdlTypeDefSnapshot
impl RefUnwindSafe for IdlTypeDefSnapshot
impl Send for IdlTypeDefSnapshot
impl Sync for IdlTypeDefSnapshot
impl Unpin for IdlTypeDefSnapshot
impl UnwindSafe for IdlTypeDefSnapshot
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