pub struct SessionAccount {
pub nick: String,
pub session_id: String,
/* private fields */
}Expand description
One session’s account as handed to its child: nick and capability only.
Fields§
§nick: String§session_id: StringThe provider session key the account is bound to (also given to the session as
M4A_SESSION_ID, so its own inbox commands address the right account).
Implementations§
Source§impl SessionAccount
impl SessionAccount
Sourcepub fn env_mutations(&self) -> Vec<EnvMutation>
pub fn env_mutations(&self) -> Vec<EnvMutation>
The only variables the session gets from the node for m4a.
Trait Implementations§
Source§impl Debug for SessionAccount
impl Debug for SessionAccount
Source§impl Drop for SessionAccount
impl Drop for SessionAccount
Auto Trait Implementations§
impl Freeze for SessionAccount
impl RefUnwindSafe for SessionAccount
impl Send for SessionAccount
impl Sync for SessionAccount
impl Unpin for SessionAccount
impl UnsafeUnpin for SessionAccount
impl UnwindSafe for SessionAccount
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