pub struct Proxy<'a> {
pub program: &'a Pubkey,
pub seeds: &'a [u8; 32],
pub bump: &'a u8,
pub authority: &'a PodOption<NullablePubkey>,
}Expand description
Extension to define the proxy data of a proxied asset.
Assets with a Proxied standard are controlled by the proxy
program specified in this extension.
This extension can only be used in Proxied asset accounts.
Fields§
§program: &'a PubkeyThe proxy program.
seeds: &'a [u8; 32]The seeds for the PDA derivation.
bump: &'a u8The bump for the PDA derivation.
Authority of the proxy extension.
Trait Implementations§
Source§impl<'a> ExtensionBuilder<'a, Proxy<'a>> for ProxyBuilder
impl<'a> ExtensionBuilder<'a, Proxy<'a>> for ProxyBuilder
Auto Trait Implementations§
impl<'a> Freeze for Proxy<'a>
impl<'a> RefUnwindSafe for Proxy<'a>
impl<'a> Send for Proxy<'a>
impl<'a> Sync for Proxy<'a>
impl<'a> Unpin for Proxy<'a>
impl<'a> UnsafeUnpin for Proxy<'a>
impl<'a> UnwindSafe for Proxy<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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