pub struct RedactionPolicyId(/* private fields */);Expand description
Identity of a canonical redaction policy, rustev.redaction/1
(spec 028, 3.4.1).
Implementations§
Trait Implementations§
Source§impl Clone for RedactionPolicyId
impl Clone for RedactionPolicyId
Source§impl Debug for RedactionPolicyId
impl Debug for RedactionPolicyId
Source§impl<'de> Deserialize<'de> for RedactionPolicyId
impl<'de> Deserialize<'de> for RedactionPolicyId
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RedactionPolicyId
impl Display for RedactionPolicyId
impl Eq for RedactionPolicyId
Source§impl Hash for RedactionPolicyId
impl Hash for RedactionPolicyId
Source§impl JsonSchema for RedactionPolicyId
impl JsonSchema for RedactionPolicyId
Source§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
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§impl Ord for RedactionPolicyId
impl Ord for RedactionPolicyId
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 RedactionPolicyId
impl PartialEq for RedactionPolicyId
Source§impl PartialOrd for RedactionPolicyId
impl PartialOrd for RedactionPolicyId
Source§impl Serialize for RedactionPolicyId
impl Serialize for RedactionPolicyId
impl StructuralPartialEq for RedactionPolicyId
Auto Trait Implementations§
impl Freeze for RedactionPolicyId
impl RefUnwindSafe for RedactionPolicyId
impl Send for RedactionPolicyId
impl Sync for RedactionPolicyId
impl Unpin for RedactionPolicyId
impl UnsafeUnpin for RedactionPolicyId
impl UnwindSafe for RedactionPolicyId
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