pub struct PeerDevice {
pub device_id: String,
pub last_sync: Option<String>,
pub status: PeerStatus,
pub pending_changes: usize,
}Fields§
§device_id: String§last_sync: Option<String>§status: PeerStatus§pending_changes: usizeTrait Implementations§
Source§impl Clone for PeerDevice
impl Clone for PeerDevice
Source§fn clone(&self) -> PeerDevice
fn clone(&self) -> PeerDevice
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 moreAuto Trait Implementations§
impl Freeze for PeerDevice
impl RefUnwindSafe for PeerDevice
impl Send for PeerDevice
impl Sync for PeerDevice
impl Unpin for PeerDevice
impl UnsafeUnpin for PeerDevice
impl UnwindSafe for PeerDevice
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