pub struct FontPatch {
pub name: Option<Option<String>>,
pub size: Option<Option<f64>>,
pub bold: Option<Option<bool>>,
pub italic: Option<Option<bool>>,
pub underline: Option<Option<String>>,
pub strikethrough: Option<Option<bool>>,
pub color: Option<Option<String>>,
}Fields§
§name: Option<Option<String>>§size: Option<Option<f64>>§bold: Option<Option<bool>>§italic: Option<Option<bool>>§underline: Option<Option<String>>§strikethrough: Option<Option<bool>>§color: Option<Option<String>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for FontPatch
impl<'de> Deserialize<'de> for FontPatch
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 JsonSchema for FontPatch
impl JsonSchema for FontPatch
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 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 moreAuto Trait Implementations§
impl Freeze for FontPatch
impl RefUnwindSafe for FontPatch
impl Send for FontPatch
impl Sync for FontPatch
impl Unpin for FontPatch
impl UnwindSafe for FontPatch
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