pub struct SourceReferencesValue {
pub references: Vec<SourceReference>,
pub updated_at: Option<EpochMillis>,
}Fields§
§references: Vec<SourceReference>§updated_at: Option<EpochMillis>Trait Implementations§
Source§impl Arbitrary for SourceReferencesValue
impl Arbitrary for SourceReferencesValue
Source§type Parameters = (<Vec<SourceReference> as Arbitrary>::Parameters, <Option<EpochMillis> as Arbitrary>::Parameters)
type Parameters = (<Vec<SourceReference> as Arbitrary>::Parameters, <Option<EpochMillis> as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<Vec<SourceReference> as Arbitrary>::Strategy, Filter<<Option<EpochMillis> as Arbitrary>::Strategy, fn(&Option<EpochMillis>) -> bool>), fn((Vec<SourceReference>, Option<EpochMillis>)) -> SourceReferencesValue>
type Strategy = Map<(<Vec<SourceReference> as Arbitrary>::Strategy, Filter<<Option<EpochMillis> as Arbitrary>::Strategy, fn(&Option<EpochMillis>) -> bool>), fn((Vec<SourceReference>, Option<EpochMillis>)) -> SourceReferencesValue>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for SourceReferencesValue
impl Clone for SourceReferencesValue
Source§fn clone(&self) -> SourceReferencesValue
fn clone(&self) -> SourceReferencesValue
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 SourceReferencesValue
impl Debug for SourceReferencesValue
Source§impl Default for SourceReferencesValue
impl Default for SourceReferencesValue
Source§fn default() -> SourceReferencesValue
fn default() -> SourceReferencesValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceReferencesValue
impl<'de> Deserialize<'de> for SourceReferencesValue
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
impl Eq for SourceReferencesValue
Source§impl Ord for SourceReferencesValue
impl Ord for SourceReferencesValue
Source§fn cmp(&self, other: &SourceReferencesValue) -> Ordering
fn cmp(&self, other: &SourceReferencesValue) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SourceReferencesValue
impl PartialEq for SourceReferencesValue
Source§impl PartialOrd for SourceReferencesValue
impl PartialOrd for SourceReferencesValue
Source§impl Serialize for SourceReferencesValue
impl Serialize for SourceReferencesValue
impl StructuralPartialEq for SourceReferencesValue
Auto Trait Implementations§
impl Freeze for SourceReferencesValue
impl RefUnwindSafe for SourceReferencesValue
impl Send for SourceReferencesValue
impl Sync for SourceReferencesValue
impl Unpin for SourceReferencesValue
impl UnsafeUnpin for SourceReferencesValue
impl UnwindSafe for SourceReferencesValue
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