Struct dsnp_graph_config::SchemaConfig
source · #[repr(C)]pub struct SchemaConfig {
pub dsnp_version: DsnpVersion,
pub connection_type: ConnectionType,
}
Expand description
Schema config This is used to map schema id to dsnp version and connection type
Fields§
§dsnp_version: DsnpVersion
§connection_type: ConnectionType
Trait Implementations§
source§impl Clone for SchemaConfig
impl Clone for SchemaConfig
source§fn clone(&self) -> SchemaConfig
fn clone(&self) -> SchemaConfig
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 SchemaConfig
impl Debug for SchemaConfig
source§impl<'de> Deserialize<'de> for SchemaConfig
impl<'de> Deserialize<'de> for SchemaConfig
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 Hash for SchemaConfig
impl Hash for SchemaConfig
source§impl Ord for SchemaConfig
impl Ord for SchemaConfig
source§fn cmp(&self, other: &SchemaConfig) -> Ordering
fn cmp(&self, other: &SchemaConfig) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SchemaConfig
impl PartialEq for SchemaConfig
source§fn eq(&self, other: &SchemaConfig) -> bool
fn eq(&self, other: &SchemaConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SchemaConfig
impl PartialOrd for SchemaConfig
source§fn partial_cmp(&self, other: &SchemaConfig) -> Option<Ordering>
fn partial_cmp(&self, other: &SchemaConfig) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for SchemaConfig
impl Serialize for SchemaConfig
impl Eq for SchemaConfig
impl StructuralEq for SchemaConfig
impl StructuralPartialEq for SchemaConfig
Auto Trait Implementations§
impl RefUnwindSafe for SchemaConfig
impl Send for SchemaConfig
impl Sync for SchemaConfig
impl Unpin for SchemaConfig
impl UnwindSafe for SchemaConfig
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