pub struct PartitionKey(/* private fields */);Expand description
A reusable partition key.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for PartitionKey
impl AsRef<str> for PartitionKey
Source§impl Clone for PartitionKey
impl Clone for PartitionKey
Source§fn clone(&self) -> PartitionKey
fn clone(&self) -> PartitionKey
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 PartitionKey
impl Debug for PartitionKey
Source§impl Default for PartitionKey
impl Default for PartitionKey
Source§fn default() -> PartitionKey
fn default() -> PartitionKey
Returns the “default value” for a type. Read more
Source§impl Display for PartitionKey
impl Display for PartitionKey
Source§impl From<&str> for PartitionKey
impl From<&str> for PartitionKey
Source§impl From<String> for PartitionKey
impl From<String> for PartitionKey
Source§impl Hash for PartitionKey
impl Hash for PartitionKey
Source§impl Ord for PartitionKey
impl Ord for PartitionKey
Source§fn cmp(&self, other: &PartitionKey) -> Ordering
fn cmp(&self, other: &PartitionKey) -> 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 PartitionKey
impl PartialEq for PartitionKey
Source§fn eq(&self, other: &PartitionKey) -> bool
fn eq(&self, other: &PartitionKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PartitionKey
impl PartialOrd for PartitionKey
impl Eq for PartitionKey
impl StructuralPartialEq for PartitionKey
Auto Trait Implementations§
impl Freeze for PartitionKey
impl RefUnwindSafe for PartitionKey
impl Send for PartitionKey
impl Sync for PartitionKey
impl Unpin for PartitionKey
impl UnsafeUnpin for PartitionKey
impl UnwindSafe for PartitionKey
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