pub struct ProducerId(pub Uuid);Tuple Fields§
§0: UuidImplementations§
Source§impl ProducerId
impl ProducerId
Trait Implementations§
Source§impl Clone for ProducerId
impl Clone for ProducerId
Source§fn clone(&self) -> ProducerId
fn clone(&self) -> ProducerId
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 ProducerId
Source§impl Debug for ProducerId
impl Debug for ProducerId
Source§impl<'de> Deserialize<'de> for ProducerId
impl<'de> Deserialize<'de> for ProducerId
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
Source§impl Display for ProducerId
impl Display for ProducerId
impl Eq for ProducerId
Source§impl FromStr for ProducerId
impl FromStr for ProducerId
Source§impl Hash for ProducerId
impl Hash for ProducerId
Source§impl JsonSchema for ProducerId
impl JsonSchema for ProducerId
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§impl Ord for ProducerId
impl Ord for ProducerId
Source§fn cmp(&self, other: &ProducerId) -> Ordering
fn cmp(&self, other: &ProducerId) -> 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 ProducerId
impl PartialEq for ProducerId
Source§fn eq(&self, other: &ProducerId) -> bool
fn eq(&self, other: &ProducerId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ProducerId
impl PartialOrd for ProducerId
Source§impl Serialize for ProducerId
impl Serialize for ProducerId
impl StructuralPartialEq for ProducerId
Auto Trait Implementations§
impl Freeze for ProducerId
impl RefUnwindSafe for ProducerId
impl Send for ProducerId
impl Sync for ProducerId
impl Unpin for ProducerId
impl UnsafeUnpin for ProducerId
impl UnwindSafe for ProducerId
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