pub struct OperationKey { /* private fields */ }Expand description
What routing rules, transforms, and channel support tables key on.
Implementations§
Source§impl OperationKey
impl OperationKey
pub const fn content(operation: Operation, kind: ContentGenerationKind) -> Self
pub const fn family(operation: Operation, family: WireFamily) -> Self
pub const fn try_new( operation: Operation, kind: OperationKind, ) -> Result<Self, OperationKeyError>
pub const fn operation(self) -> Operation
pub const fn kind(self) -> OperationKind
Trait Implementations§
Source§impl Clone for OperationKey
impl Clone for OperationKey
Source§fn clone(&self) -> OperationKey
fn clone(&self) -> OperationKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OperationKey
Source§impl Debug for OperationKey
impl Debug for OperationKey
impl Eq for OperationKey
Source§impl Hash for OperationKey
impl Hash for OperationKey
Source§impl PartialEq for OperationKey
impl PartialEq 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