pub struct ExternalResourceIdentityV1 { /* private fields */ }Expand description
One distinct external logical key and the exact bytes captured once.
Implementations§
Source§impl ExternalResourceIdentityV1
impl ExternalResourceIdentityV1
Sourcepub const fn key(&self) -> &DependencyResourceKeyV1
pub const fn key(&self) -> &DependencyResourceKeyV1
Safe normalized source-relative key.
Sourcepub const fn identity(&self) -> &InputIdentity
pub const fn identity(&self) -> &InputIdentity
SHA-256 and byte count of the exact captured bytes.
Trait Implementations§
Source§impl Clone for ExternalResourceIdentityV1
impl Clone for ExternalResourceIdentityV1
Source§fn clone(&self) -> ExternalResourceIdentityV1
fn clone(&self) -> ExternalResourceIdentityV1
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 ExternalResourceIdentityV1
impl Debug for ExternalResourceIdentityV1
Source§impl<'de> Deserialize<'de> for ExternalResourceIdentityV1
impl<'de> Deserialize<'de> for ExternalResourceIdentityV1
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 ExternalResourceIdentityV1
impl StructuralPartialEq for ExternalResourceIdentityV1
Auto Trait Implementations§
impl Freeze for ExternalResourceIdentityV1
impl RefUnwindSafe for ExternalResourceIdentityV1
impl Send for ExternalResourceIdentityV1
impl Sync for ExternalResourceIdentityV1
impl Unpin for ExternalResourceIdentityV1
impl UnsafeUnpin for ExternalResourceIdentityV1
impl UnwindSafe for ExternalResourceIdentityV1
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