pub struct FileName(/* private fields */);Expand description
A file name a printer’s own file API can be asked for.
See the module documentation for the whole of what this type refuses and what it accepts.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileName
impl<'de> Deserialize<'de> for FileName
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FileName
Source§impl JsonSchema for FileName
impl JsonSchema for FileName
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 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 FileName
impl Ord for FileName
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 FileName
impl PartialOrd for FileName
Source§impl Sample for FileName
impl Sample for FileName
Source§fn sample_full() -> Self
fn sample_full() -> Self
A value carrying every field the type declares.
Source§fn sample_minimal() -> Self
fn sample_minimal() -> Self
A value carrying every optional field absent.
Source§fn sample_alternates() -> Vec<Self>
fn sample_alternates() -> Vec<Self>
One value per further arm, for a type whose wire form is a union. Read more
impl StructuralPartialEq for FileName
Auto Trait Implementations§
impl Forget for FileName
impl Freeze for FileName
impl Move for FileName
impl RefUnwindSafe for FileName
impl Send for FileNamewhere
RawVecInner: Send,
impl Sync for FileNamewhere
RawVecInner: Sync,
impl Unpin for FileName
impl UnsafeUnpin for FileName
impl UnwindSafe for FileNamewhere
RawVecInner: 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