pub struct IndexPolicy<'a> {
pub realm: &'a str,
pub root_public_key: &'a [u8],
pub required: bool,
}Expand description
What a consumer knows about a realm’s index obligation.
Fields§
§realm: &'a strThe realm’s name, for error messages.
root_public_key: &'a [u8]The realm’s trust root — the index verifies against this and nothing else. The SOURCE is the party being constrained, so it is never asked whether the index is good.
required: boolThe realm declared signed-index = true (clause 5).
Trait Implementations§
Source§impl<'a> Clone for IndexPolicy<'a>
impl<'a> Clone for IndexPolicy<'a>
Source§fn clone(&self) -> IndexPolicy<'a>
fn clone(&self) -> IndexPolicy<'a>
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<'a> Copy for IndexPolicy<'a>
Auto Trait Implementations§
impl<'a> Freeze for IndexPolicy<'a>
impl<'a> RefUnwindSafe for IndexPolicy<'a>
impl<'a> Send for IndexPolicy<'a>
impl<'a> Sync for IndexPolicy<'a>
impl<'a> Unpin for IndexPolicy<'a>
impl<'a> UnsafeUnpin for IndexPolicy<'a>
impl<'a> UnwindSafe for IndexPolicy<'a>
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