pub struct Extensible {
pub base_type: Option<String>,
pub schema_location: Option<String>,
pub type_: String,
}Expand description
Base Extensible schema for use in TMForum Open-APIs - When used for in a schema it means that the Entity described by the schema MUST be extended with the @type
Fields§
§base_type: Option<String>When sub-classing, this defines the super-class
schema_location: Option<String>A URI to a JSON-Schema file that defines additional attributes and relationships
type_: StringWhen sub-classing, this defines the sub-class Extensible name
Trait Implementations§
Source§impl Clone for Extensible
impl Clone for Extensible
Source§fn clone(&self) -> Extensible
fn clone(&self) -> Extensible
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Extensible
impl Debug for Extensible
Source§impl Default for Extensible
impl Default for Extensible
Source§fn default() -> Extensible
fn default() -> Extensible
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Extensible
impl<'de> Deserialize<'de> for Extensible
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 Display for Extensible
impl Display for Extensible
Source§impl PartialEq for Extensible
impl PartialEq for Extensible
Source§impl Serialize for Extensible
impl Serialize for Extensible
impl StructuralPartialEq for Extensible
Auto Trait Implementations§
impl Freeze for Extensible
impl RefUnwindSafe for Extensible
impl Send for Extensible
impl Sync for Extensible
impl Unpin for Extensible
impl UnwindSafe for Extensible
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)