pub struct CollectionDirectionalSpeedManifestIdentityV1 { /* private fields */ }Expand description
Exact manifest identity carried by a directional-speed policy.
Implementations§
Source§impl CollectionDirectionalSpeedManifestIdentityV1
impl CollectionDirectionalSpeedManifestIdentityV1
Sourcepub fn new(
collection_id: CollectionIdV1,
input: InputIdentity,
) -> Result<Self, CollectionDirectionalSpeedPolicyError>
pub fn new( collection_id: CollectionIdV1, input: InputIdentity, ) -> Result<Self, CollectionDirectionalSpeedPolicyError>
Construct an identity from the exact collection id and manifest bytes.
Sourcepub fn collection_id(&self) -> &CollectionIdV1
pub fn collection_id(&self) -> &CollectionIdV1
Collection namespace token.
Sourcepub const fn input(&self) -> &InputIdentity
pub const fn input(&self) -> &InputIdentity
Exact manifest-byte identity.
Trait Implementations§
Source§impl Clone for CollectionDirectionalSpeedManifestIdentityV1
impl Clone for CollectionDirectionalSpeedManifestIdentityV1
Source§fn clone(&self) -> CollectionDirectionalSpeedManifestIdentityV1
fn clone(&self) -> CollectionDirectionalSpeedManifestIdentityV1
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 moreimpl Eq for CollectionDirectionalSpeedManifestIdentityV1
impl StructuralPartialEq for CollectionDirectionalSpeedManifestIdentityV1
Auto Trait Implementations§
impl Freeze for CollectionDirectionalSpeedManifestIdentityV1
impl RefUnwindSafe for CollectionDirectionalSpeedManifestIdentityV1
impl Send for CollectionDirectionalSpeedManifestIdentityV1
impl Sync for CollectionDirectionalSpeedManifestIdentityV1
impl Unpin for CollectionDirectionalSpeedManifestIdentityV1
impl UnsafeUnpin for CollectionDirectionalSpeedManifestIdentityV1
impl UnwindSafe for CollectionDirectionalSpeedManifestIdentityV1
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