pub struct DeferredToolLoadAuthority {
pub name: String,
pub witness: ToolVisibilityWitness,
}Expand description
Typed authority value for a deferred-tool load request.
The public/effect seam carries the requested route name and provenance witness as one value. Canonical owners may project this into name-indexed maps internally, but callers do not get to make a map key the authority.
Fields§
§name: String§witness: ToolVisibilityWitnessImplementations§
Source§impl DeferredToolLoadAuthority
impl DeferredToolLoadAuthority
pub fn new(name: impl Into<String>, witness: ToolVisibilityWitness) -> Self
pub fn into_parts(self) -> (String, ToolVisibilityWitness)
Trait Implementations§
Source§impl Clone for DeferredToolLoadAuthority
impl Clone for DeferredToolLoadAuthority
Source§fn clone(&self) -> DeferredToolLoadAuthority
fn clone(&self) -> DeferredToolLoadAuthority
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 DeferredToolLoadAuthority
impl Debug for DeferredToolLoadAuthority
Source§impl<'de> Deserialize<'de> for DeferredToolLoadAuthority
impl<'de> Deserialize<'de> for DeferredToolLoadAuthority
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
Source§impl PartialEq for DeferredToolLoadAuthority
impl PartialEq for DeferredToolLoadAuthority
Source§fn eq(&self, other: &DeferredToolLoadAuthority) -> bool
fn eq(&self, other: &DeferredToolLoadAuthority) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DeferredToolLoadAuthority
impl StructuralPartialEq for DeferredToolLoadAuthority
Auto Trait Implementations§
impl Freeze for DeferredToolLoadAuthority
impl RefUnwindSafe for DeferredToolLoadAuthority
impl Send for DeferredToolLoadAuthority
impl Sync for DeferredToolLoadAuthority
impl Unpin for DeferredToolLoadAuthority
impl UnsafeUnpin for DeferredToolLoadAuthority
impl UnwindSafe for DeferredToolLoadAuthority
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.