pub struct AdmittedMember {
pub name: String,
pub capsule: String,
pub version: String,
pub entry: bool,
pub sha256: String,
pub manifest: RuntimeManifest,
}Expand description
One member, bound to the artifact admission resolved for it.
Fields§
§name: StringThe member’s name within the roster.
capsule: StringThe artifact name the member runs.
version: StringThe exact version roster.yaml pins.
entry: boolWhether this is the roster’s entry member.
sha256: StringSHA-256 of the artifact bytes admission resolved and checked, as 64 lowercase hex characters. Whatever starts this member must start these bytes and no others.
manifest: RuntimeManifestThe member’s packed murmur.yaml, parsed.
Implementations§
Source§impl AdmittedMember
impl AdmittedMember
Sourcepub fn requires_authentication(&self) -> bool
pub fn requires_authentication(&self) -> bool
Whether the member’s door requires authentication: its manifest declares
network.authentication.
Trait Implementations§
Source§impl Clone for AdmittedMember
impl Clone for AdmittedMember
Auto Trait Implementations§
impl Freeze for AdmittedMember
impl RefUnwindSafe for AdmittedMember
impl Send for AdmittedMember
impl Sync for AdmittedMember
impl Unpin for AdmittedMember
impl UnsafeUnpin for AdmittedMember
impl UnwindSafe for AdmittedMember
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more