[][src]Struct rpki::manifest::ManifestBuilder

pub struct ManifestBuilder(_);

Methods

impl ManifestBuilder[src]

pub fn new(
    manifest_number: u128,
    this_update: Time,
    next_update: Time,
    file_hash_alg: DigestAlgorithm,
    cert: CertBuilder
) -> Self
[src]

pub fn encode(self) -> SignedObjectBuilder<impl Values>[src]

Methods from Deref<Target = SignedObjectBuilder<ManifestContentBuilder>>

pub fn content(&self) -> &C[src]

pub fn content_mut(&mut self) -> &mut C[src]

pub fn cert(&self) -> &CertBuilder[src]

pub fn cert_mut(&mut self) -> &mut CertBuilder[src]

pub fn signing_time(&mut self, time: Time)[src]

pub fn binary_signing_time(&mut self, time: Time)[src]

Trait Implementations

impl AsMut<SignedObjectBuilder<ManifestContentBuilder>> for ManifestBuilder[src]

impl AsMut<ManifestContentBuilder> for ManifestBuilder[src]

impl AsRef<SignedObjectBuilder<ManifestContentBuilder>> for ManifestBuilder[src]

impl AsRef<ManifestContentBuilder> for ManifestBuilder[src]

impl DerefMut for ManifestBuilder[src]

impl Deref for ManifestBuilder[src]

type Target = SignedObjectBuilder<ManifestContentBuilder>

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.