Struct tea_sdk::actor_txns::pre_args::Arg
pub struct Arg {
pub ty: Type,
pub filter: Filter,
}
Fields§
§ty: Type
§filter: Filter
Implementations§
§impl Arg
impl Arg
pub fn single_cml(cml_id: u64) -> Arg
pub fn single_status(status: Status) -> Arg
pub fn single_tea_id(tea_id: [u8; 32]) -> Arg
pub fn multi_cmls(cml_ids: &[u64]) -> Arg
pub fn tappstore_owner() -> Arg
pub fn startup_nodes_owner() -> Arg
pub fn basic_string(s: String) -> Arg
pub fn current_height() -> Arg
pub fn topup_logs() -> Arg
pub fn size(&self) -> usize
Trait Implementations§
§impl<'de> Deserialize<'de> for Arg
impl<'de> Deserialize<'de> for Arg
§fn deserialize<__D>(
__deserializer: __D
) -> Result<Arg, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<Arg, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for Arg
impl Serialize for Arg
§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 Arg
impl StructuralEq for Arg
impl StructuralPartialEq for Arg
Auto Trait Implementations§
impl RefUnwindSafe for Arg
impl Send for Arg
impl Sync for Arg
impl Unpin for Arg
impl UnwindSafe for Arg
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
source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.