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