Enum tea_sdk::tapp::ChannelItemStatus
pub enum ChannelItemStatus {
Normal,
EarlyTerminate(u128),
}
Variants§
Normal
EarlyTerminate(u128)
When payer early terminate, the channel status will be set to EarlyTerminate. Note the parameter is the update time when set to EarlyTerminate.
Trait Implementations§
§impl Clone for ChannelItemStatus
impl Clone for ChannelItemStatus
§fn clone(&self) -> ChannelItemStatus
fn clone(&self) -> ChannelItemStatus
Returns a copy 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 more§impl Debug for ChannelItemStatus
impl Debug for ChannelItemStatus
§impl Default for ChannelItemStatus
impl Default for ChannelItemStatus
§fn default() -> ChannelItemStatus
fn default() -> ChannelItemStatus
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for ChannelItemStatus
impl<'de> Deserialize<'de> for ChannelItemStatus
§fn deserialize<__D>(
__deserializer: __D
) -> Result<ChannelItemStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ChannelItemStatus, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for ChannelItemStatus
impl PartialEq for ChannelItemStatus
§fn eq(&self, other: &ChannelItemStatus) -> bool
fn eq(&self, other: &ChannelItemStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for ChannelItemStatus
impl Serialize for ChannelItemStatus
§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 ChannelItemStatus
impl StructuralEq for ChannelItemStatus
impl StructuralPartialEq for ChannelItemStatus
Auto Trait Implementations§
impl RefUnwindSafe for ChannelItemStatus
impl Send for ChannelItemStatus
impl Sync for ChannelItemStatus
impl Unpin for ChannelItemStatus
impl UnwindSafe for ChannelItemStatus
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.