pub struct ProcedureAdvertisement {
pub procedure_uri: String,
pub advertiser_node: [u8; 32],
pub serving_station: [u8; 32],
pub cert_chain: Option<Vec<u8>>,
}Expand description
A procedure_advertisement record’s fields, read out of its payload —
mirrors macula_record:read_procedure_advertisement/1. cert_chain is
None when the advertisement carries no cert_chain field (the common,
unmanaged-realm case); see
cert_chain::verify_advertisement_cert_chain.
Fields§
§procedure_uri: String§advertiser_node: [u8; 32]§serving_station: [u8; 32]§cert_chain: Option<Vec<u8>>Optional: leaf-first PEM bundle, leaf ++ org CA.
Trait Implementations§
Source§impl Clone for ProcedureAdvertisement
impl Clone for ProcedureAdvertisement
Source§fn clone(&self) -> ProcedureAdvertisement
fn clone(&self) -> ProcedureAdvertisement
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 moreAuto Trait Implementations§
impl Freeze for ProcedureAdvertisement
impl RefUnwindSafe for ProcedureAdvertisement
impl Send for ProcedureAdvertisement
impl Sync for ProcedureAdvertisement
impl Unpin for ProcedureAdvertisement
impl UnsafeUnpin for ProcedureAdvertisement
impl UnwindSafe for ProcedureAdvertisement
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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