Struct solana_sdk::loader_v3::LoaderV3State
pub struct LoaderV3State {
pub slot: u64,
pub is_deployed: bool,
pub authority_address: Option<Pubkey>,
}
Expand description
LoaderV3 account states
Fields§
§slot: u64
Slot that the program was last initialized, deployed or retracted in.
is_deployed: bool
True if the program is ready to be executed, false if it is retracted for maintainance.
Authority address, None
means it is finalized.
Implementations§
§impl LoaderV3State
impl LoaderV3State
pub const fn program_data_offset() -> usize
pub const fn program_data_offset() -> usize
Size of a serialized program account.
Trait Implementations§
§impl AbiExample for LoaderV3State
impl AbiExample for LoaderV3State
fn example() -> LoaderV3State
§impl Clone for LoaderV3State
impl Clone for LoaderV3State
§fn clone(&self) -> LoaderV3State
fn clone(&self) -> LoaderV3State
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for LoaderV3State
impl Debug for LoaderV3State
§impl<'de> Deserialize<'de> for LoaderV3State
impl<'de> Deserialize<'de> for LoaderV3State
§fn deserialize<__D>(
__deserializer: __D
) -> Result<LoaderV3State, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<LoaderV3State, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<LoaderV3State> for LoaderV3State
impl PartialEq<LoaderV3State> for LoaderV3State
§fn eq(&self, other: &LoaderV3State) -> bool
fn eq(&self, other: &LoaderV3State) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for LoaderV3State
impl Serialize for LoaderV3State
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for LoaderV3State
impl Eq for LoaderV3State
impl StructuralEq for LoaderV3State
impl StructuralPartialEq for LoaderV3State
Auto Trait Implementations§
impl RefUnwindSafe for LoaderV3State
impl Send for LoaderV3State
impl Sync for LoaderV3State
impl Unpin for LoaderV3State
impl UnwindSafe for LoaderV3State
Blanket Implementations§
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + ?Sized,
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more