pub enum OwnedSchemaData {
Type(OwnedNamedType),
Endpoint {
path: String,
request_key: Key,
response_key: Key,
},
Topic {
path: String,
key: Key,
direction: TopicDirection,
},
}
Expand description
A single element of schema information
Variants§
Trait Implementations§
Source§impl Clone for OwnedSchemaData
impl Clone for OwnedSchemaData
Source§fn clone(&self) -> OwnedSchemaData
fn clone(&self) -> OwnedSchemaData
Returns a copy 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 OwnedSchemaData
impl Debug for OwnedSchemaData
Source§impl<'de> Deserialize<'de> for OwnedSchemaData
impl<'de> Deserialize<'de> for OwnedSchemaData
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 PartialEq for OwnedSchemaData
impl PartialEq for OwnedSchemaData
Source§impl Schema for OwnedSchemaData
impl Schema for OwnedSchemaData
Source§impl Serialize for OwnedSchemaData
impl Serialize for OwnedSchemaData
impl StructuralPartialEq for OwnedSchemaData
Auto Trait Implementations§
impl Freeze for OwnedSchemaData
impl RefUnwindSafe for OwnedSchemaData
impl Send for OwnedSchemaData
impl Sync for OwnedSchemaData
impl Unpin for OwnedSchemaData
impl UnwindSafe for OwnedSchemaData
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