[−][src]Struct sequoia_openpgp::cert::components::ComponentAmalgamation
A certificate's component and its associated data.
Methods
impl<'a, C> ComponentAmalgamation<'a, C>
[src]
pub fn cert(&self) -> &'a Cert
[src]
Returns the certificate that the component came from.
pub fn bundle(&self) -> &'a ComponentBundle<C>
[src]
Returns this component's bundle.
pub fn with_policy<T>(
self,
policy: &'a dyn Policy,
time: T
) -> Result<ValidComponentAmalgamation<'a, C>> where
T: Into<Option<SystemTime>>,
[src]
self,
policy: &'a dyn Policy,
time: T
) -> Result<ValidComponentAmalgamation<'a, C>> where
T: Into<Option<SystemTime>>,
Sets the reference time for the amalgamation.
If time
is None
, the current time is used.
This transforms the ComponentAmalgamation
into a
ValidComponentAmalgamation
.
impl<'a> ComponentAmalgamation<'a, UserID>
[src]
impl<'a> ComponentAmalgamation<'a, UserAttribute>
[src]
pub fn user_attribute(&self) -> &UserAttribute
[src]
Returns a reference to the User Attribute.
Trait Implementations
impl<'a, C: Clone> Clone for ComponentAmalgamation<'a, C>
[src]
fn clone(&self) -> ComponentAmalgamation<'a, C>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, C: Debug> Debug for ComponentAmalgamation<'a, C>
[src]
impl<'a, C> Deref for ComponentAmalgamation<'a, C>
[src]
Auto Trait Implementations
impl<'a, C> !RefUnwindSafe for ComponentAmalgamation<'a, C>
impl<'a, C> Send for ComponentAmalgamation<'a, C> where
C: Sync,
C: Sync,
impl<'a, C> Sync for ComponentAmalgamation<'a, C> where
C: Sync,
C: Sync,
impl<'a, C> Unpin for ComponentAmalgamation<'a, C>
impl<'a, C> !UnwindSafe for ComponentAmalgamation<'a, C>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,