pub struct WrappedCandidTypeVariant {
pub subitems: Vec<(String, Option<WrappedCandidType>)>,
pub name: Option<String>,
}Expand description
有可能有名称
Fields§
§subitems: Vec<(String, Option<WrappedCandidType>)>子类型
name: Option<String>有时候有名字
Implementations§
Trait Implementations§
Source§impl Clone for WrappedCandidTypeVariant
impl Clone for WrappedCandidTypeVariant
Source§fn clone(&self) -> WrappedCandidTypeVariant
fn clone(&self) -> WrappedCandidTypeVariant
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 WrappedCandidTypeVariant
impl Debug for WrappedCandidTypeVariant
Source§impl<'de> Deserialize<'de> for WrappedCandidTypeVariant
impl<'de> Deserialize<'de> for WrappedCandidTypeVariant
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 WrappedCandidTypeVariant
Source§impl PartialEq for WrappedCandidTypeVariant
impl PartialEq for WrappedCandidTypeVariant
Source§impl Serialize for WrappedCandidTypeVariant
impl Serialize for WrappedCandidTypeVariant
impl StructuralPartialEq for WrappedCandidTypeVariant
Auto Trait Implementations§
impl Freeze for WrappedCandidTypeVariant
impl RefUnwindSafe for WrappedCandidTypeVariant
impl Send for WrappedCandidTypeVariant
impl Sync for WrappedCandidTypeVariant
impl Unpin for WrappedCandidTypeVariant
impl UnsafeUnpin for WrappedCandidTypeVariant
impl UnwindSafe for WrappedCandidTypeVariant
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