pub struct LeanWorkerPlanMetadataExpectation {
pub export: String,
pub request: Value,
pub expected: Option<LeanWorkerCapabilityMetadata>,
}Expand description
Metadata expectation carried into planned session keys.
Fields§
§export: String§request: Value§expected: Option<LeanWorkerCapabilityMetadata>Trait Implementations§
Source§impl Clone for LeanWorkerPlanMetadataExpectation
impl Clone for LeanWorkerPlanMetadataExpectation
Source§fn clone(&self) -> LeanWorkerPlanMetadataExpectation
fn clone(&self) -> LeanWorkerPlanMetadataExpectation
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 moreSource§impl PartialEq for LeanWorkerPlanMetadataExpectation
impl PartialEq for LeanWorkerPlanMetadataExpectation
Source§fn eq(&self, other: &LeanWorkerPlanMetadataExpectation) -> bool
fn eq(&self, other: &LeanWorkerPlanMetadataExpectation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeanWorkerPlanMetadataExpectation
impl StructuralPartialEq for LeanWorkerPlanMetadataExpectation
Auto Trait Implementations§
impl Freeze for LeanWorkerPlanMetadataExpectation
impl RefUnwindSafe for LeanWorkerPlanMetadataExpectation
impl Send for LeanWorkerPlanMetadataExpectation
impl Sync for LeanWorkerPlanMetadataExpectation
impl Unpin for LeanWorkerPlanMetadataExpectation
impl UnsafeUnpin for LeanWorkerPlanMetadataExpectation
impl UnwindSafe for LeanWorkerPlanMetadataExpectation
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