pub struct RoomTarget<'a> {
pub host_url: &'a str,
pub host_did: Option<&'a str>,
pub room_id: &'a str,
}Expand description
Everything a room command needs to reach both parties.
The host DID is optional because an operator may not know it, and the cost of not knowing is stated rather than hidden: without it the minted presentation carries no audience, so it is bearer-shaped against that room for its four-hour life. With it, a captured presentation is worthless to anyone else.
Fields§
§host_url: &'a str§host_did: Option<&'a str>§room_id: &'a strAuto Trait Implementations§
impl<'a> Freeze for RoomTarget<'a>
impl<'a> RefUnwindSafe for RoomTarget<'a>
impl<'a> Send for RoomTarget<'a>
impl<'a> Sync for RoomTarget<'a>
impl<'a> Unpin for RoomTarget<'a>
impl<'a> UnsafeUnpin for RoomTarget<'a>
impl<'a> UnwindSafe for RoomTarget<'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