pub struct Lock<'a> {Show 13 fields
pub authority_info: &'a AccountInfo<'a>,
pub token_owner_info: Option<&'a AccountInfo<'a>>,
pub token_info: &'a AccountInfo<'a>,
pub mint_info: &'a AccountInfo<'a>,
pub metadata_info: &'a AccountInfo<'a>,
pub edition_info: Option<&'a AccountInfo<'a>>,
pub token_record_info: Option<&'a AccountInfo<'a>>,
pub payer_info: &'a AccountInfo<'a>,
pub system_program_info: &'a AccountInfo<'a>,
pub sysvar_instructions_info: &'a AccountInfo<'a>,
pub spl_token_program_info: Option<&'a AccountInfo<'a>>,
pub authorization_rules_program_info: Option<&'a AccountInfo<'a>>,
pub authorization_rules_info: Option<&'a AccountInfo<'a>>,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer.
Read more
Mutably dereferences the given pointer.
Read more
Drops the object pointed to by the given pointer.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.