Struct aws_lambda_events::encodings::SecondDuration
source · pub struct SecondDuration(pub Duration);Expand description
Duration with second precision.
Tuple Fields§
§0: DurationTrait Implementations§
source§impl Clone for SecondDuration
impl Clone for SecondDuration
source§fn clone(&self) -> SecondDuration
fn clone(&self) -> SecondDuration
Returns a copy 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 SecondDuration
impl Debug for SecondDuration
source§impl Deref for SecondDuration
impl Deref for SecondDuration
source§impl DerefMut for SecondDuration
impl DerefMut for SecondDuration
source§impl<'de> Deserialize<'de> for SecondDuration
impl<'de> Deserialize<'de> for SecondDuration
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 PartialEq for SecondDuration
impl PartialEq for SecondDuration
source§fn eq(&self, other: &SecondDuration) -> bool
fn eq(&self, other: &SecondDuration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SecondDuration
impl Serialize for SecondDuration
impl Eq for SecondDuration
impl StructuralPartialEq for SecondDuration
Auto Trait Implementations§
impl RefUnwindSafe for SecondDuration
impl Send for SecondDuration
impl Sync for SecondDuration
impl Unpin for SecondDuration
impl UnwindSafe for SecondDuration
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