pub struct DatabaseKey {
pub id: DatabaseId,
}Fields§
§id: DatabaseIdTrait Implementations§
Source§impl Arbitrary for DatabaseKey
impl Arbitrary for DatabaseKey
Source§type Parameters = <DatabaseId as Arbitrary>::Parameters
type Parameters = <DatabaseId 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<<DatabaseId as Arbitrary>::Strategy, fn(DatabaseId) -> DatabaseKey>
type Strategy = Map<<DatabaseId as Arbitrary>::Strategy, fn(DatabaseId) -> DatabaseKey>
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 DatabaseKey
impl Clone for DatabaseKey
Source§fn clone(&self) -> DatabaseKey
fn clone(&self) -> DatabaseKey
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 moreimpl Copy for DatabaseKey
Source§impl Debug for DatabaseKey
impl Debug for DatabaseKey
Source§impl<'de> Deserialize<'de> for DatabaseKey
impl<'de> Deserialize<'de> for DatabaseKey
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 DatabaseKey
Source§impl Ord for DatabaseKey
impl Ord for DatabaseKey
Source§fn cmp(&self, other: &DatabaseKey) -> Ordering
fn cmp(&self, other: &DatabaseKey) -> 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 DatabaseKey
impl PartialEq for DatabaseKey
Source§impl PartialOrd for DatabaseKey
impl PartialOrd for DatabaseKey
Source§impl Serialize for DatabaseKey
impl Serialize for DatabaseKey
impl StructuralPartialEq for DatabaseKey
Auto Trait Implementations§
impl Freeze for DatabaseKey
impl RefUnwindSafe for DatabaseKey
impl Send for DatabaseKey
impl Sync for DatabaseKey
impl Unpin for DatabaseKey
impl UnsafeUnpin for DatabaseKey
impl UnwindSafe for DatabaseKey
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