pub struct GidMappingValue {
pub id: u64,
pub fingerprint: String,
pub global_id: Option<SystemGlobalId>,
}Fields§
§id: u64§fingerprint: String§global_id: Option<SystemGlobalId>Trait Implementations§
Source§impl Arbitrary for GidMappingValue
impl Arbitrary for GidMappingValue
Source§type Parameters = (<u64 as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<SystemGlobalId> as Arbitrary>::Parameters)
type Parameters = (<u64 as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<SystemGlobalId> 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<(<u64 as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <Option<SystemGlobalId> as Arbitrary>::Strategy), fn((u64, String, Option<SystemGlobalId>)) -> GidMappingValue>
type Strategy = Map<(<u64 as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <Option<SystemGlobalId> as Arbitrary>::Strategy), fn((u64, String, Option<SystemGlobalId>)) -> GidMappingValue>
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 GidMappingValue
impl Clone for GidMappingValue
Source§fn clone(&self) -> GidMappingValue
fn clone(&self) -> GidMappingValue
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 GidMappingValue
impl Debug for GidMappingValue
Source§impl Default for GidMappingValue
impl Default for GidMappingValue
Source§fn default() -> GidMappingValue
fn default() -> GidMappingValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GidMappingValue
impl<'de> Deserialize<'de> for GidMappingValue
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 GidMappingValue
Source§impl Ord for GidMappingValue
impl Ord for GidMappingValue
Source§fn cmp(&self, other: &GidMappingValue) -> Ordering
fn cmp(&self, other: &GidMappingValue) -> 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 GidMappingValue
impl PartialEq for GidMappingValue
Source§impl PartialOrd for GidMappingValue
impl PartialOrd for GidMappingValue
Source§impl Serialize for GidMappingValue
impl Serialize for GidMappingValue
impl StructuralPartialEq for GidMappingValue
Auto Trait Implementations§
impl Freeze for GidMappingValue
impl RefUnwindSafe for GidMappingValue
impl Send for GidMappingValue
impl Sync for GidMappingValue
impl Unpin for GidMappingValue
impl UnsafeUnpin for GidMappingValue
impl UnwindSafe for GidMappingValue
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