pub struct SchemaReference {
pub name: String,
pub subject: String,
pub version: u32,
}Expand description
Reference to another schema (for composition)
Fields§
§name: StringReference name (used in the schema)
subject: StringSubject containing the referenced schema
version: u32Version of the referenced schema
Trait Implementations§
Source§impl Clone for SchemaReference
impl Clone for SchemaReference
Source§fn clone(&self) -> SchemaReference
fn clone(&self) -> SchemaReference
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 SchemaReference
impl Debug for SchemaReference
Source§impl<'de> Deserialize<'de> for SchemaReference
impl<'de> Deserialize<'de> for SchemaReference
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
Auto Trait Implementations§
impl Freeze for SchemaReference
impl RefUnwindSafe for SchemaReference
impl Send for SchemaReference
impl Sync for SchemaReference
impl Unpin for SchemaReference
impl UnsafeUnpin for SchemaReference
impl UnwindSafe for SchemaReference
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