pub struct FreezeDelegatedAccountBuilder {
pub delegate: Option<Pubkey>,
pub token_account: Option<Pubkey>,
pub edition: Option<Pubkey>,
pub mint: Option<Pubkey>,
pub token_program: Option<Pubkey>,
}
Fields§
§delegate: Option<Pubkey>
§token_account: Option<Pubkey>
§edition: Option<Pubkey>
§mint: Option<Pubkey>
§token_program: Option<Pubkey>
Implementations§
source§impl FreezeDelegatedAccountBuilder
impl FreezeDelegatedAccountBuilder
pub fn new() -> Box<FreezeDelegatedAccountBuilder>
pub fn delegate(&mut self, delegate: Pubkey) -> &mut Self
pub fn token_account(&mut self, token_account: Pubkey) -> &mut Self
pub fn edition(&mut self, edition: Pubkey) -> &mut Self
pub fn mint(&mut self, mint: Pubkey) -> &mut Self
pub fn token_program(&mut self, token_program: Pubkey) -> &mut Self
pub fn build(&mut self) -> Result<Box<FreezeDelegatedAccount>, Box<dyn Error>>
Auto Trait Implementations§
impl RefUnwindSafe for FreezeDelegatedAccountBuilder
impl Send for FreezeDelegatedAccountBuilder
impl Sync for FreezeDelegatedAccountBuilder
impl Unpin for FreezeDelegatedAccountBuilder
impl UnwindSafe for FreezeDelegatedAccountBuilder
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