pub struct DirAsCharUpper(/* private fields */);Expand description
Wrapper around Dir that serializes to a single uppercase character.
Methods from Deref<Target = Dir>§
pub fn to_str_uppercase(&self) -> &'static str
pub fn to_str_lowercase(&self) -> &'static str
pub fn position_sign(&self) -> Decimal
Trait Implementations§
Source§impl Clone for DirAsCharUpper
impl Clone for DirAsCharUpper
Source§fn clone(&self) -> DirAsCharUpper
fn clone(&self) -> DirAsCharUpper
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 Debug for DirAsCharUpper
impl Debug for DirAsCharUpper
Source§impl Deref for DirAsCharUpper
impl Deref for DirAsCharUpper
Source§impl<'de> Deserialize<'de> for DirAsCharUpper
impl<'de> Deserialize<'de> for DirAsCharUpper
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 From<Dir> for DirAsCharUpper
impl From<Dir> for DirAsCharUpper
Source§impl From<DirAsCharUpper> for Dir
impl From<DirAsCharUpper> for Dir
Source§fn from(val: DirAsCharUpper) -> Self
fn from(val: DirAsCharUpper) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for DirAsCharUpper
impl JsonSchema for DirAsCharUpper
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for DirAsCharUpper
impl PartialEq for DirAsCharUpper
Source§impl Serialize for DirAsCharUpper
impl Serialize for DirAsCharUpper
impl Copy for DirAsCharUpper
impl Eq for DirAsCharUpper
impl StructuralPartialEq for DirAsCharUpper
Auto Trait Implementations§
impl Freeze for DirAsCharUpper
impl RefUnwindSafe for DirAsCharUpper
impl Send for DirAsCharUpper
impl Sync for DirAsCharUpper
impl Unpin for DirAsCharUpper
impl UnwindSafe for DirAsCharUpper
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