pub struct TargetInline {
pub refuri: Option<Url>,
pub refid: Option<ID>,
pub refname: Vec<NameToken>,
pub anonymous: bool,
}Fields§
§refuri: Option<Url>External reference to a URI/URL
refid: Option<ID>References to ids attributes in other elements
refname: Vec<NameToken>Internal reference to the names attribute of another element. May resolve to either an internal or external reference.
anonymous: boolTrait Implementations§
Source§impl Clone for TargetInline
impl Clone for TargetInline
Source§fn clone(&self) -> TargetInline
fn clone(&self) -> TargetInline
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 TargetInline
impl Debug for TargetInline
Source§impl Default for TargetInline
impl Default for TargetInline
Source§fn default() -> TargetInline
fn default() -> TargetInline
Returns the “default value” for a type. Read more
Source§impl ExtraAttributes<TargetInline> for TargetInline
impl ExtraAttributes<TargetInline> for TargetInline
fn with_extra(extra: TargetInline) -> TargetInline
fn extra(&self) -> &TargetInline
fn extra_mut(&mut self) -> &mut TargetInline
Source§impl JsonSchema for TargetInline
impl JsonSchema for TargetInline
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 TargetInline
impl PartialEq for TargetInline
Source§impl Serialize for TargetInline
impl Serialize for TargetInline
impl StructuralPartialEq for TargetInline
Auto Trait Implementations§
impl Freeze for TargetInline
impl RefUnwindSafe for TargetInline
impl Send for TargetInline
impl Sync for TargetInline
impl Unpin for TargetInline
impl UnwindSafe for TargetInline
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