pub enum AdapterRules {
Bound(ContentDigest),
Opaque,
}Expand description
What determines a task adapter’s label check and correctness (spec
014, 3.1): the content digest of a canonical document that fully
determines them, or opaque when no document does.
Variants§
Bound(ContentDigest)
Opaque
Trait Implementations§
Source§impl Clone for AdapterRules
impl Clone for AdapterRules
Source§impl Debug for AdapterRules
impl Debug for AdapterRules
Source§impl<'de> Deserialize<'de> for AdapterRules
impl<'de> Deserialize<'de> for AdapterRules
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 AdapterRules
Source§impl PartialEq for AdapterRules
impl PartialEq for AdapterRules
Source§impl Serialize for AdapterRules
impl Serialize for AdapterRules
impl StructuralPartialEq for AdapterRules
Auto Trait Implementations§
impl Freeze for AdapterRules
impl RefUnwindSafe for AdapterRules
impl Send for AdapterRules
impl Sync for AdapterRules
impl Unpin for AdapterRules
impl UnsafeUnpin for AdapterRules
impl UnwindSafe for AdapterRules
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