Struct cyfs_lib::DeviceSyncStatus
source · [−]pub struct DeviceSyncStatus {
pub ood_device_id: DeviceId,
pub enable_sync: bool,
pub last_success_ping_time: u64,
pub last_ping_result: BuckyErrorCode,
pub last_ping_time: u64,
pub retry_count: u32,
pub device_root_state: ObjectId,
pub device_root_state_revision: u64,
pub zone_root_state: Option<ObjectId>,
pub zone_root_state_revision: u64,
}
Fields
ood_device_id: DeviceId
enable_sync: bool
last_success_ping_time: u64
last_ping_result: BuckyErrorCode
last_ping_time: u64
retry_count: u32
device_root_state: ObjectId
device_root_state_revision: u64
zone_root_state: Option<ObjectId>
zone_root_state_revision: u64
Trait Implementations
sourceimpl Debug for DeviceSyncStatus
impl Debug for DeviceSyncStatus
sourceimpl JsonCodec<DeviceSyncStatus> for DeviceSyncStatus
impl JsonCodec<DeviceSyncStatus> for DeviceSyncStatus
fn encode_json(&self) -> Map<String, Value>
fn decode_json(obj: &Map<String, Value>) -> BuckyResult<Self>
fn encode_string(&self) -> String
fn decode_string(value: &str) -> Result<T, BuckyError>
fn decode_value(value: &Value) -> Result<T, BuckyError>
fn encode_value(&self) -> Value
Auto Trait Implementations
impl RefUnwindSafe for DeviceSyncStatus
impl Send for DeviceSyncStatus
impl Sync for DeviceSyncStatus
impl Unpin for DeviceSyncStatus
impl UnwindSafe for DeviceSyncStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more