#[non_exhaustive]pub struct SessionStartNodeRoster {
pub default_node: String,
pub nodes: Vec<SessionStartRosterNode>,
}Expand description
The roster a session started with, echoed on the session/start
result. A client that named nodes and reads no echo sends no turn: the
host did not attach them, or no longer holds the roster it started with.
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.default_node: StringThe name of the node a call runs on when it names none.
nodes: Vec<SessionStartRosterNode>The attached nodes, in the order the start named them.
Trait Implementations§
Source§impl Clone for SessionStartNodeRoster
impl Clone for SessionStartNodeRoster
Source§impl Debug for SessionStartNodeRoster
impl Debug for SessionStartNodeRoster
Source§impl<'de> Deserialize<'de> for SessionStartNodeRoster
impl<'de> Deserialize<'de> for SessionStartNodeRoster
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 SessionStartNodeRoster
Source§impl PartialEq for SessionStartNodeRoster
impl PartialEq for SessionStartNodeRoster
Source§impl Serialize for SessionStartNodeRoster
impl Serialize for SessionStartNodeRoster
impl StructuralPartialEq for SessionStartNodeRoster
Auto Trait Implementations§
impl Forget for SessionStartNodeRoster
impl Freeze for SessionStartNodeRoster
impl Move for SessionStartNodeRoster
impl RefUnwindSafe for SessionStartNodeRoster
impl Send for SessionStartNodeRoster
impl Sync for SessionStartNodeRoster
impl Unpin for SessionStartNodeRoster
impl UnsafeUnpin for SessionStartNodeRoster
impl UnwindSafe for SessionStartNodeRoster
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