pub struct UpdateMetadataAccountV2Builder {
pub metadata: Option<Pubkey>,
pub update_authority: Option<Pubkey>,
}Fields§
§metadata: Option<Pubkey>Implementations§
Source§impl UpdateMetadataAccountV2Builder
impl UpdateMetadataAccountV2Builder
pub fn new() -> Box<UpdateMetadataAccountV2Builder>
pub fn metadata(&mut self, metadata: Pubkey) -> &mut Self
pub fn build( &mut self, args: UpdateMetadataAccountArgsV2, ) -> Result<Box<UpdateMetadataAccountV2>, Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for UpdateMetadataAccountV2Builder
impl RefUnwindSafe for UpdateMetadataAccountV2Builder
impl Send for UpdateMetadataAccountV2Builder
impl Sync for UpdateMetadataAccountV2Builder
impl Unpin for UpdateMetadataAccountV2Builder
impl UnwindSafe for UpdateMetadataAccountV2Builder
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> 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