pub struct UnnamedField<L: LinkingScheme> {
pub value: L::TypeLink,
pub silent: bool,
pub doc: String,
}Fields§
§value: L::TypeLink§silent: bool§doc: StringTrait Implementations§
Source§impl<L: LinkingScheme> BorshDeserialize for UnnamedField<L>where
L::TypeLink: BorshDeserialize,
impl<L: LinkingScheme> BorshDeserialize for UnnamedField<L>where
L::TypeLink: BorshDeserialize,
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl<L: LinkingScheme> BorshSerialize for UnnamedField<L>where
L::TypeLink: BorshSerialize,
impl<L: LinkingScheme> BorshSerialize for UnnamedField<L>where
L::TypeLink: BorshSerialize,
Source§impl<L: Clone + LinkingScheme> Clone for UnnamedField<L>
impl<L: Clone + LinkingScheme> Clone for UnnamedField<L>
Source§fn clone(&self) -> UnnamedField<L>
fn clone(&self) -> UnnamedField<L>
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<L: Debug + LinkingScheme> Debug for UnnamedField<L>
impl<L: Debug + LinkingScheme> Debug for UnnamedField<L>
Source§impl<L: PartialEq + LinkingScheme> PartialEq for UnnamedField<L>
impl<L: PartialEq + LinkingScheme> PartialEq for UnnamedField<L>
impl<L: Eq + LinkingScheme> Eq for UnnamedField<L>
impl<L: LinkingScheme> StructuralPartialEq for UnnamedField<L>
Auto Trait Implementations§
impl<L> Freeze for UnnamedField<L>
impl<L> RefUnwindSafe for UnnamedField<L>
impl<L> Send for UnnamedField<L>
impl<L> Sync for UnnamedField<L>
impl<L> Unpin for UnnamedField<L>
impl<L> UnsafeUnpin for UnnamedField<L>
impl<L> UnwindSafe for UnnamedField<L>
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