Enum tea_sdk::actor_txns::auth::AllowedOp
pub enum AllowedOp {
Read,
Move,
Withdraw,
Consume,
BondingCurve,
CrossMove,
}
Expand description
These are allow operation that user authorize the tapp to When user login a tapp, these allow ops will be listed If user agree, login continue, if not, login cancelled
Variants§
Trait Implementations§
§impl<'de> Deserialize<'de> for AllowedOp
impl<'de> Deserialize<'de> for AllowedOp
§fn deserialize<__D>(
__deserializer: __D
) -> Result<AllowedOp, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<AllowedOp, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for AllowedOp
impl Serialize for AllowedOp
§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 Copy for AllowedOp
impl Eq for AllowedOp
impl StructuralEq for AllowedOp
impl StructuralPartialEq for AllowedOp
Auto Trait Implementations§
impl RefUnwindSafe for AllowedOp
impl Send for AllowedOp
impl Sync for AllowedOp
impl Unpin for AllowedOp
impl UnwindSafe for AllowedOp
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.