[−][src]Enum solana_move_loader_api::account_state::LibraAccountState
Type of Libra account held by a Solana account
Variants
Unallocated
No data for this account yet
CompiledProgram(String)
Json string representation of types::transaction::Program
VerifiedProgram
Serialized verified program bytes
Fields of VerifiedProgram
User(Pubkey, WriteSet)
Associated genesis account and the write set containing the Libra account data
Genesis(WriteSet)
Write sets containing the mint and stdlib modules
Methods
impl LibraAccountState
[src]
pub fn create_unallocated() -> Self
[src]
pub fn create_program(
sender_address: &AccountAddress,
code: &str,
deps: Vec<&Vec<u8>>
) -> Self
[src]
sender_address: &AccountAddress,
code: &str,
deps: Vec<&Vec<u8>>
) -> Self
pub fn create_user(owner: &Pubkey, write_set: WriteSet) -> Self
[src]
pub fn create_genesis(mint_balance: u64) -> Result<Self, InstructionError>
[src]
Trait Implementations
impl Eq for LibraAccountState
[src]
impl Clone for LibraAccountState
[src]
fn clone(&self) -> LibraAccountState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<LibraAccountState> for LibraAccountState
[src]
fn eq(&self, other: &LibraAccountState) -> bool
[src]
fn ne(&self, other: &LibraAccountState) -> bool
[src]
impl Debug for LibraAccountState
[src]
impl Serialize for LibraAccountState
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for LibraAccountState
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Sync for LibraAccountState
impl Send for LibraAccountState
impl Unpin for LibraAccountState
impl UnwindSafe for LibraAccountState
impl RefUnwindSafe for LibraAccountState
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> TestOnlyHash for T where
T: Serialize + ?Sized,
T: Serialize + ?Sized,
fn test_only_hash(&self) -> HashValue
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Erased for T
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
T: Send + Sync + UnwindSafe + ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Erased for T
impl<T> Typeable for T where
T: Any,
T: Any,