pub struct AccountAdditionalDataV2 {
pub spl_token_additional_data: Option<SplTokenAdditionalData>,
}
๐Deprecated since 2.2.0: Use
AccountAdditionalDataV3
insteadFieldsยง
ยงspl_token_additional_data: Option<SplTokenAdditionalData>
๐Deprecated since 2.2.0: Use
AccountAdditionalDataV3
insteadTrait Implementationsยง
Sourceยงimpl Clone for AccountAdditionalDataV2
impl Clone for AccountAdditionalDataV2
Sourceยงfn clone(&self) -> AccountAdditionalDataV2
fn clone(&self) -> AccountAdditionalDataV2
Returns a copy 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 Default for AccountAdditionalDataV2
impl Default for AccountAdditionalDataV2
Sourceยงfn default() -> AccountAdditionalDataV2
fn default() -> AccountAdditionalDataV2
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl From<AccountAdditionalDataV2> for AccountAdditionalDataV3
impl From<AccountAdditionalDataV2> for AccountAdditionalDataV3
Sourceยงfn from(v: AccountAdditionalDataV2) -> Self
fn from(v: AccountAdditionalDataV2) -> Self
Converts to this type from the input type.
impl Copy for AccountAdditionalDataV2
Auto Trait Implementationsยง
impl Freeze for AccountAdditionalDataV2
impl RefUnwindSafe for AccountAdditionalDataV2
impl Send for AccountAdditionalDataV2
impl Sync for AccountAdditionalDataV2
impl Unpin for AccountAdditionalDataV2
impl UnwindSafe for AccountAdditionalDataV2
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more