pub struct OperationKey {
pub operation: Operation,
pub dialect: Dialect,
}Expand description
What transform pairs, channel support tables and routing rules key on.
Construct directly from an operation and dialect. Supported combinations are defined by transform and channel support tables, not by this type.
Fields§
§operation: Operation§dialect: DialectImplementations§
Source§impl OperationKey
impl OperationKey
pub const fn family(self) -> WireFamily
Trait Implementations§
Source§impl Clone for OperationKey
impl Clone for OperationKey
impl Copy for OperationKey
Source§impl Debug for OperationKey
impl Debug for OperationKey
Source§impl<'de> Deserialize<'de> for OperationKey
impl<'de> Deserialize<'de> for OperationKey
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
impl Eq for OperationKey
Source§impl Hash for OperationKey
impl Hash for OperationKey
Source§impl Ord for OperationKey
impl Ord for OperationKey
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for OperationKey
impl PartialEq for OperationKey
Source§impl PartialOrd for OperationKey
impl PartialOrd for OperationKey
Source§impl Serialize for OperationKey
impl Serialize for OperationKey
impl StructuralPartialEq for OperationKey
Auto Trait Implementations§
impl Freeze for OperationKey
impl RefUnwindSafe for OperationKey
impl Send for OperationKey
impl Sync for OperationKey
impl Unpin for OperationKey
impl UnsafeUnpin for OperationKey
impl UnwindSafe for OperationKey
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