pub struct Depart {
pub service_id: String,
pub stamp: Time,
}Fields§
§service_id: String§stamp: TimeImplementations§
Source§impl Depart
impl Depart
pub fn encode(&self, w: &mut Writer) -> Result<(), WireError>
pub fn decode(r: &mut Reader<'_>) -> Result<Self, WireError>
pub fn key_holder_be(&self) -> Result<Vec<u8>, WireError>
pub fn key_from_holder_be(r: &mut Reader<'_>) -> Result<Self, WireError>
pub fn key_hash(&self) -> Result<[u8; 16], WireError>
Trait Implementations§
impl StructuralPartialEq for Depart
Auto Trait Implementations§
impl Freeze for Depart
impl RefUnwindSafe for Depart
impl Send for Depart
impl Sync for Depart
impl Unpin for Depart
impl UnsafeUnpin for Depart
impl UnwindSafe for Depart
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