pub struct OperationKey {
pub operation: Operation,
pub kind: OperationKind,
}Expand description
Capability plus wire-format kind.
Fields§
§operation: Operation§kind: OperationKindImplementations§
Source§impl OperationKey
impl OperationKey
pub fn content_generation( operation: Operation, kind: ContentGenerationKind, ) -> Self
pub fn provider(operation: Operation, provider: Provider) -> Self
pub const fn group(self) -> OperationGroup
pub const fn provider_family(self) -> Provider
pub const fn is_consistent(self) -> bool
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
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 PartialEq for OperationKey
impl PartialEq 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