#[non_exhaustive]pub struct ExternalWaitView {
pub reason: Option<String>,
}Expand description
The live host-declared external wait as served on a Session object
(Session.externalWait): present exactly while a declaration is
live for the loaded session, absent otherwise. Absence is never
fabricated — an unloaded row carries no member.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.reason: Option<String>The host’s label for what the session waits on. Omitted when the host declared without one.
Trait Implementations§
Source§impl Clone for ExternalWaitView
impl Clone for ExternalWaitView
Source§impl Debug for ExternalWaitView
impl Debug for ExternalWaitView
Source§impl<'de> Deserialize<'de> for ExternalWaitView
impl<'de> Deserialize<'de> for ExternalWaitView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExternalWaitView
Source§impl PartialEq for ExternalWaitView
impl PartialEq for ExternalWaitView
Source§impl Serialize for ExternalWaitView
impl Serialize for ExternalWaitView
impl StructuralPartialEq for ExternalWaitView
Auto Trait Implementations§
impl Forget for ExternalWaitView
impl Freeze for ExternalWaitView
impl Move for ExternalWaitView
impl RefUnwindSafe for ExternalWaitView
impl Send for ExternalWaitView
impl Sync for ExternalWaitView
impl Unpin for ExternalWaitView
impl UnsafeUnpin for ExternalWaitView
impl UnwindSafe for ExternalWaitView
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