Struct solana_program::loader_v3::LoaderV3State
source · #[repr(C)]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§
source§impl LoaderV3State
impl LoaderV3State
sourcepub const fn program_data_offset() -> usize
pub const fn program_data_offset() -> usize
Size of a serialized program account.
Trait Implementations§
source§impl Clone for LoaderV3State
impl Clone for LoaderV3State
source§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 moresource§impl Debug for LoaderV3State
impl Debug for LoaderV3State
source§impl<'de> Deserialize<'de> for LoaderV3State
impl<'de> Deserialize<'de> for LoaderV3State
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<LoaderV3State> for LoaderV3State
impl PartialEq<LoaderV3State> for LoaderV3State
source§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 ==
.source§impl Serialize for LoaderV3State
impl Serialize for LoaderV3State
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