[][src]Struct sequoia_openpgp::packet::signature::subpacket::Subpacket

pub struct Subpacket { /* fields omitted */ }

Signature subpacket specified by Section 5.2.3.1 of RFC 4880.

Implementations

impl Subpacket[src]

pub fn new(value: SubpacketValue, critical: bool) -> Result<Subpacket>[src]

Creates a new subpacket.

pub fn critical(&self) -> bool[src]

Returns whether this subpacket is critical.

pub fn tag(&self) -> SubpacketTag[src]

Returns the subpacket tag.

pub fn value(&self) -> &SubpacketValue[src]

Returns the subpackets value.

Trait Implementations

impl Clone for Subpacket[src]

impl Debug for Subpacket[src]

impl Eq for Subpacket[src]

impl Hash for Subpacket[src]

impl Marshal for Subpacket[src]

impl MarshalInto for Subpacket[src]

impl PartialEq<Subpacket> for Subpacket[src]

impl StructuralEq for Subpacket[src]

impl StructuralPartialEq for Subpacket[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.