pub struct TransferResult {
pub status: u8,
pub external_userid: Option<String>,
pub takeover_time: Option<u64>,
}Fields§
§status: u8接替状态, 1-接替完毕 2-等待接替 3-客户拒绝 4-接替成员客户达到上限 5-无接替记录
external_userid: Option<String>客户的external_userid
takeover_time: Option<u64>接替客户的时间,如果是等待接替状态,则为未来的自动接替时间
Trait Implementations§
Source§impl Clone for TransferResult
impl Clone for TransferResult
Source§fn clone(&self) -> TransferResult
fn clone(&self) -> TransferResult
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 TransferResult
impl Debug for TransferResult
Source§impl<'de> Deserialize<'de> for TransferResult
impl<'de> Deserialize<'de> for TransferResult
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
Auto Trait Implementations§
impl Freeze for TransferResult
impl RefUnwindSafe for TransferResult
impl Send for TransferResult
impl Sync for TransferResult
impl Unpin for TransferResult
impl UnwindSafe for TransferResult
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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