pub struct MsValidityInformation {
pub units_of_time: UnitsOfTime,
pub number_of_time_units: u16,
}Fields§
§units_of_time: UnitsOfTime§number_of_time_units: u16Implementations§
Source§impl MsValidityInformation
impl MsValidityInformation
Sourcepub fn into_parts(self) -> MsValidityInformationParts
pub fn into_parts(self) -> MsValidityInformationParts
Converts Self into its parts.
Sourcepub fn from_parts(parts: MsValidityInformationParts) -> Self
pub fn from_parts(parts: MsValidityInformationParts) -> Self
Source§impl MsValidityInformation
impl MsValidityInformation
pub fn new(units_of_time: UnitsOfTime, number_of_time_units: u16) -> Self
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for MsValidityInformation
impl<'arbitrary> Arbitrary<'arbitrary> for MsValidityInformation
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§impl Clone for MsValidityInformation
impl Clone for MsValidityInformation
Source§fn clone(&self) -> MsValidityInformation
fn clone(&self) -> MsValidityInformation
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 MsValidityInformation
impl Debug for MsValidityInformation
Source§impl Decode for MsValidityInformation
Available on crate feature alloc only.
impl Decode for MsValidityInformation
Available on crate feature
alloc only.Source§impl<'a> Decode<'a> for MsValidityInformation
impl<'a> Decode<'a> for MsValidityInformation
Source§impl Default for MsValidityInformation
impl Default for MsValidityInformation
Source§fn default() -> MsValidityInformation
fn default() -> MsValidityInformation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MsValidityInformation
impl<'de> Deserialize<'de> for MsValidityInformation
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 Encode for MsValidityInformation
impl Encode for MsValidityInformation
Source§impl Encode for MsValidityInformation
Available on crate feature alloc only.
impl Encode for MsValidityInformation
Available on crate feature
alloc only.impl Eq for MsValidityInformation
Source§impl Hash for MsValidityInformation
impl Hash for MsValidityInformation
Source§impl Ord for MsValidityInformation
impl Ord for MsValidityInformation
Source§fn cmp(&self, other: &MsValidityInformation) -> Ordering
fn cmp(&self, other: &MsValidityInformation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MsValidityInformation
impl PartialEq for MsValidityInformation
Source§fn eq(&self, other: &MsValidityInformation) -> bool
fn eq(&self, other: &MsValidityInformation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MsValidityInformation
impl PartialOrd for MsValidityInformation
Source§impl Serialize for MsValidityInformation
impl Serialize for MsValidityInformation
impl StructuralPartialEq for MsValidityInformation
Auto Trait Implementations§
impl Freeze for MsValidityInformation
impl RefUnwindSafe for MsValidityInformation
impl Send for MsValidityInformation
impl Sync for MsValidityInformation
impl Unpin for MsValidityInformation
impl UnsafeUnpin for MsValidityInformation
impl UnwindSafe for MsValidityInformation
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