pub struct WithRawRepr<L> { /* private fields */ }Trait Implementations§
Source§impl<L: Clone> Clone for WithRawRepr<L>
impl<L: Clone> Clone for WithRawRepr<L>
Source§fn clone(&self) -> WithRawRepr<L>
fn clone(&self) -> WithRawRepr<L>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<L: Debug> Debug for WithRawRepr<L>
impl<L: Debug> Debug for WithRawRepr<L>
Source§impl<L> DerefMut for WithRawRepr<L>
impl<L> DerefMut for WithRawRepr<L>
Source§impl<'de, T> Deserialize<'de> for WithRawRepr<T>
impl<'de, T> Deserialize<'de> for WithRawRepr<T>
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<T> Display for WithRawRepr<T>
impl<T> Display for WithRawRepr<T>
Source§impl<T: FromStr> FromStr for WithRawRepr<T>
impl<T: FromStr> FromStr for WithRawRepr<T>
Source§impl<T: JsonSchema> JsonSchema for WithRawRepr<T>
impl<T: JsonSchema> JsonSchema for WithRawRepr<T>
Source§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(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &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<L: PartialEq> PartialEq for WithRawRepr<L>
impl<L: PartialEq> PartialEq for WithRawRepr<L>
Source§impl<L: PartialOrd> PartialOrd for WithRawRepr<L>
impl<L: PartialOrd> PartialOrd for WithRawRepr<L>
Source§impl<T> Serialize for WithRawRepr<T>
impl<T> Serialize for WithRawRepr<T>
Source§impl<L> Deref for WithRawRepr<L>
impl<L> Deref for WithRawRepr<L>
impl<L> StructuralPartialEq for WithRawRepr<L>
Auto Trait Implementations§
impl<L> Freeze for WithRawRepr<L>where
L: Freeze,
impl<L> RefUnwindSafe for WithRawRepr<L>where
L: RefUnwindSafe,
impl<L> Send for WithRawRepr<L>where
L: Send,
impl<L> Sync for WithRawRepr<L>where
L: Sync,
impl<L> Unpin for WithRawRepr<L>where
L: Unpin,
impl<L> UnwindSafe for WithRawRepr<L>where
L: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more