[−][src]Enum solana_move_loader_api::account_state::LibraAccountState
Type of Libra account held by a Solana account
Variants
No data for this account yet
CompiledProgram(String)Json string representation of types::transaction::Program
Serialized verified program bytes
Fields of VerifiedProgram
script_bytes: Vec<u8>modules_bytes: Vec<ModuleBytes>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 Clone for LibraAccountState[src]
fn clone(&self) -> LibraAccountState[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Eq for LibraAccountState[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 StructuralPartialEq for LibraAccountState[src]
impl StructuralEq for LibraAccountState[src]
impl<'de> Deserialize<'de> for LibraAccountState[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for LibraAccountState[src]
Auto Trait Implementations
impl Send for LibraAccountState
impl Sync 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> From<T> for T[src]
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, 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> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
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> 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<T> Erased for T
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> PersistableConfig for T where
T: Serialize + DeserializeOwned + ?Sized,
T: Serialize + DeserializeOwned + ?Sized,
fn load_config<P>(path: P) -> Self where
P: AsRef<Path>,
P: AsRef<Path>,
fn save_config<P>(&self, output_file: P) where
P: AsRef<Path>,
P: AsRef<Path>,