pub struct ProtoTimestamp {
pub seconds: i64,
pub nanos: i32,
}Fields§
§seconds: i64§nanos: i32Trait Implementations§
Source§impl Clone for ProtoTimestamp
impl Clone for ProtoTimestamp
Source§fn clone(&self) -> ProtoTimestamp
fn clone(&self) -> ProtoTimestamp
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 ProtoTimestamp
impl Debug for ProtoTimestamp
Source§impl Default for ProtoTimestamp
impl Default for ProtoTimestamp
Source§fn default() -> ProtoTimestamp
fn default() -> ProtoTimestamp
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProtoTimestamp
impl<'de> Deserialize<'de> for ProtoTimestamp
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 ProtoTimestamp
impl RefUnwindSafe for ProtoTimestamp
impl Send for ProtoTimestamp
impl Sync for ProtoTimestamp
impl Unpin for ProtoTimestamp
impl UnsafeUnpin for ProtoTimestamp
impl UnwindSafe for ProtoTimestamp
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