pub struct Registration<'a> {
pub instance_id: &'a str,
pub host_app: &'a str,
pub role: &'a str,
pub name: &'a str,
pub card: &'a WorkerCard,
pub alias_place: Option<&'a str>,
}Expand description
Who is registered: the workspace worker, or its alias in one public
vault or swarm (place_ref = "{kind}:{id}").
Fields§
§instance_id: &'a str§host_app: &'a str§role: &'a str§name: &'a str§card: &'a WorkerCard§alias_place: Option<&'a str>Auto Trait Implementations§
impl<'a> Forget for Registration<'a>
impl<'a> Freeze for Registration<'a>
impl<'a> Move for Registration<'a>
impl<'a> RefUnwindSafe for Registration<'a>
impl<'a> Send for Registration<'a>
impl<'a> Sync for Registration<'a>where
RawVecInner: Sync,
impl<'a> Unpin for Registration<'a>
impl<'a> UnsafeUnpin for Registration<'a>
impl<'a> UnwindSafe for Registration<'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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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