pub struct SubjectId(/* private fields */);Expand description
The stable identity a request acts as, used for upload ownership and commit replay.
Subject IDs contain 1 to 256 visible ASCII characters (0x21 through 0x7E) other than the comma, which separates ids on the wire.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SubjectId
impl<'de> Deserialize<'de> for SubjectId
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 SubjectId
Source§impl Ord for SubjectId
impl Ord for SubjectId
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 PartialOrd for SubjectId
impl PartialOrd for SubjectId
impl StructuralPartialEq for SubjectId
Auto Trait Implementations§
impl Freeze for SubjectId
impl RefUnwindSafe for SubjectId
impl Send for SubjectId
impl Sync for SubjectId
impl Unpin for SubjectId
impl UnsafeUnpin for SubjectId
impl UnwindSafe for SubjectId
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