pub enum CommitTypeArgs {
Standalone(Vec<u8>),
WithBaseActions {
committed_accounts: Vec<u8>,
base_actions: Vec<BaseActionArgs>,
},
}Variants§
Implementations§
Source§impl CommitTypeArgs
impl CommitTypeArgs
pub fn committed_accounts_indices(&self) -> &Vec<u8> ⓘ
Trait Implementations§
Source§impl Clone for CommitTypeArgs
impl Clone for CommitTypeArgs
Source§fn clone(&self) -> CommitTypeArgs
fn clone(&self) -> CommitTypeArgs
Returns a duplicate 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 CommitTypeArgs
impl Debug for CommitTypeArgs
Source§impl<'de> Deserialize<'de> for CommitTypeArgs
impl<'de> Deserialize<'de> for CommitTypeArgs
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 for CommitTypeArgs
impl PartialEq for CommitTypeArgs
Source§impl Serialize for CommitTypeArgs
impl Serialize for CommitTypeArgs
impl Eq for CommitTypeArgs
impl StructuralPartialEq for CommitTypeArgs
Auto Trait Implementations§
impl Freeze for CommitTypeArgs
impl RefUnwindSafe for CommitTypeArgs
impl Send for CommitTypeArgs
impl Sync for CommitTypeArgs
impl Unpin for CommitTypeArgs
impl UnwindSafe for CommitTypeArgs
Blanket Implementations§
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