pub struct ActionArgs {
pub escrow_index: u8,
pub data: Vec<u8>,
}Fields§
§escrow_index: u8§data: Vec<u8>Implementations§
Source§impl ActionArgs
impl ActionArgs
pub fn new(data: Vec<u8>) -> ActionArgs
pub fn escrow_index(&self) -> u8
pub fn data(&self) -> &Vec<u8> ⓘ
pub fn with_escrow_index(self, index: u8) -> ActionArgs
Trait Implementations§
Source§impl Clone for ActionArgs
impl Clone for ActionArgs
Source§fn clone(&self) -> ActionArgs
fn clone(&self) -> ActionArgs
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 ActionArgs
impl Debug for ActionArgs
Source§impl<'de> Deserialize<'de> for ActionArgs
impl<'de> Deserialize<'de> for ActionArgs
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ActionArgs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ActionArgs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ActionArgs
impl PartialEq for ActionArgs
Source§impl Serialize for ActionArgs
impl Serialize for ActionArgs
Source§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 Eq for ActionArgs
impl StructuralPartialEq for ActionArgs
Auto Trait Implementations§
impl Freeze for ActionArgs
impl RefUnwindSafe for ActionArgs
impl Send for ActionArgs
impl Sync for ActionArgs
impl Unpin for ActionArgs
impl UnwindSafe for ActionArgs
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