pub struct StewardBind<'a> {
pub signed: &'a SignedBinding,
pub rt: &'a SeedApiRuntime,
pub store: &'a CheckoutGrantStore,
pub posture: AdmissionPosture,
pub confirmed_fingerprint: &'a str,
pub steward_node_id: &'a str,
pub steward_pubkey: &'a str,
pub now: u64,
}Expand description
Everything one steward bind needs.
Fields§
§signed: &'a SignedBindingThe operator-signed v2 record.
rt: &'a SeedApiRuntimeThe Seed’s adapter runtime (its link must be pinned).
store: &'a CheckoutGrantStoreThe node’s checkout store (holds the live local mesh id).
posture: AdmissionPostureThe node’s admission state.
confirmed_fingerprint: &'a strThe grant key fingerprint the operator confirmed at init time.
steward_node_id: &'a strThis node’s id (the steward the record must name).
steward_pubkey: &'a strThis node’s request-signing key, 64 hex chars.
now: u64Now, unix seconds.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for StewardBind<'a>
impl<'a> !UnwindSafe for StewardBind<'a>
impl<'a> Freeze for StewardBind<'a>
impl<'a> Send for StewardBind<'a>
impl<'a> Sync for StewardBind<'a>
impl<'a> Unpin for StewardBind<'a>
impl<'a> UnsafeUnpin for StewardBind<'a>
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> 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