pub struct HealthTime {
pub remote_time: i64,
pub local_time: i64,
pub diff: i64,
}Expand description
Health Time
Fields§
§remote_time: i64Current unix timestamp on trustful remote server.
local_time: i64Current unix timestamp of local server where Appwrite runs.
diff: i64Difference of unix remote and local timestamps in milliseconds.
Implementations§
Source§impl HealthTime
impl HealthTime
Sourcepub fn remote_time(&self) -> &i64
pub fn remote_time(&self) -> &i64
Get remote_time
Sourcepub fn local_time(&self) -> &i64
pub fn local_time(&self) -> &i64
Get local_time
Trait Implementations§
Source§impl Clone for HealthTime
impl Clone for HealthTime
Source§fn clone(&self) -> HealthTime
fn clone(&self) -> HealthTime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HealthTime
impl Debug for HealthTime
Source§impl<'de> Deserialize<'de> for HealthTime
impl<'de> Deserialize<'de> for HealthTime
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
Source§impl Serialize for HealthTime
impl Serialize for HealthTime
impl Model for HealthTime
Auto Trait Implementations§
impl Freeze for HealthTime
impl RefUnwindSafe for HealthTime
impl Send for HealthTime
impl Sync for HealthTime
impl Unpin for HealthTime
impl UnsafeUnpin for HealthTime
impl UnwindSafe for HealthTime
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