pub struct LiteralBlock {
pub space: FixedSpace,
}Fields§
§space: FixedSpaceTrait Implementations§
Source§impl Clone for LiteralBlock
impl Clone for LiteralBlock
Source§fn clone(&self) -> LiteralBlock
fn clone(&self) -> LiteralBlock
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 LiteralBlock
impl Debug for LiteralBlock
Source§impl Default for LiteralBlock
impl Default for LiteralBlock
Source§fn default() -> LiteralBlock
fn default() -> LiteralBlock
Returns the “default value” for a type. Read more
Source§impl ExtraAttributes<LiteralBlock> for LiteralBlock
impl ExtraAttributes<LiteralBlock> for LiteralBlock
fn with_extra(extra: LiteralBlock) -> LiteralBlock
fn extra(&self) -> &LiteralBlock
fn extra_mut(&mut self) -> &mut LiteralBlock
Source§impl JsonSchema for LiteralBlock
impl JsonSchema for LiteralBlock
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 moreSource§impl PartialEq for LiteralBlock
impl PartialEq for LiteralBlock
Source§impl Serialize for LiteralBlock
impl Serialize for LiteralBlock
impl StructuralPartialEq for LiteralBlock
Auto Trait Implementations§
impl Freeze for LiteralBlock
impl RefUnwindSafe for LiteralBlock
impl Send for LiteralBlock
impl Sync for LiteralBlock
impl Unpin for LiteralBlock
impl UnwindSafe for LiteralBlock
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