pub struct UpdateNamespaceIx {
pub update_authority: Pubkey,
pub rent_authority: Pubkey,
pub approve_authority: Option<Pubkey>,
pub schema: u8,
pub payment_amount_daily: u64,
pub payment_mint: Pubkey,
pub min_rental_seconds: i64,
pub max_rental_seconds: Option<i64>,
pub transferable_entries: bool,
pub limit: Option<u32>,
pub max_expiration: Option<i64>,
pub invalidation_type: u8,
}
Fields§
§schema: u8
§payment_amount_daily: u64
§payment_mint: Pubkey
§min_rental_seconds: i64
§max_rental_seconds: Option<i64>
§transferable_entries: bool
§limit: Option<u32>
§max_expiration: Option<i64>
§invalidation_type: u8
Trait Implementations§
Source§impl BorshDeserialize for UpdateNamespaceIx
impl BorshDeserialize for UpdateNamespaceIx
Source§impl BorshSerialize for UpdateNamespaceIxwhere
Pubkey: BorshSerialize,
Option<Pubkey>: BorshSerialize,
u8: BorshSerialize,
u64: BorshSerialize,
i64: BorshSerialize,
Option<i64>: BorshSerialize,
bool: BorshSerialize,
Option<u32>: BorshSerialize,
impl BorshSerialize for UpdateNamespaceIxwhere
Pubkey: BorshSerialize,
Option<Pubkey>: BorshSerialize,
u8: BorshSerialize,
u64: BorshSerialize,
i64: BorshSerialize,
Option<i64>: BorshSerialize,
bool: BorshSerialize,
Option<u32>: BorshSerialize,
Auto Trait Implementations§
impl Freeze for UpdateNamespaceIx
impl RefUnwindSafe for UpdateNamespaceIx
impl Send for UpdateNamespaceIx
impl Sync for UpdateNamespaceIx
impl Unpin for UpdateNamespaceIx
impl UnwindSafe for UpdateNamespaceIx
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