pub enum DependencyReferenceTargetV1 {
Primary,
External {
key: DependencyResourceKeyV1,
},
Refused {
key: Option<DependencyResourceKeyV1>,
reason: DependencyResourceRefusalReasonV1,
},
Unavailable {
key: Option<DependencyResourceKeyV1>,
reason: DependencyResourceUnavailableReasonV1,
},
}Expand description
One declaration’s closure mapping.
Variants§
Primary
Bytes are carried by the exact primary input.
External
Bytes came from one captured normalized external key.
Fields
§
key: DependencyResourceKeyV1Key of the distinct external-resource row.
Refused
Locator was rejected before any open attempt.
Fields
§
key: Option<DependencyResourceKeyV1>Safe normalized key for a relative locator refused as a symlink.
§
reason: DependencyResourceRefusalReasonV1Stable refusal class; unsafe spelling is never retained.
A safe declaration had no available captured identity.
Trait Implementations§
Source§impl Clone for DependencyReferenceTargetV1
impl Clone for DependencyReferenceTargetV1
Source§fn clone(&self) -> DependencyReferenceTargetV1
fn clone(&self) -> DependencyReferenceTargetV1
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 Debug for DependencyReferenceTargetV1
impl Debug for DependencyReferenceTargetV1
Source§impl<'de> Deserialize<'de> for DependencyReferenceTargetV1
impl<'de> Deserialize<'de> for DependencyReferenceTargetV1
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 DependencyReferenceTargetV1
impl StructuralPartialEq for DependencyReferenceTargetV1
Auto Trait Implementations§
impl Freeze for DependencyReferenceTargetV1
impl RefUnwindSafe for DependencyReferenceTargetV1
impl Send for DependencyReferenceTargetV1
impl Sync for DependencyReferenceTargetV1
impl Unpin for DependencyReferenceTargetV1
impl UnsafeUnpin for DependencyReferenceTargetV1
impl UnwindSafe for DependencyReferenceTargetV1
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