pub struct ServerSetup {
pub selected_version: VarInt,
pub parameters: Vec<KeyValuePair>,
}Expand description
SERVER_SETUP message (type 0x21).
Fields§
§selected_version: VarIntThe MoQT version selected by the server.
parameters: Vec<KeyValuePair>Setup parameters.
Trait Implementations§
Source§impl Clone for ServerSetup
impl Clone for ServerSetup
Source§fn clone(&self) -> ServerSetup
fn clone(&self) -> ServerSetup
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerSetup
impl Debug for ServerSetup
Source§impl PartialEq for ServerSetup
impl PartialEq for ServerSetup
impl Eq for ServerSetup
impl StructuralPartialEq for ServerSetup
Auto Trait Implementations§
impl Freeze for ServerSetup
impl RefUnwindSafe for ServerSetup
impl Send for ServerSetup
impl Sync for ServerSetup
impl Unpin for ServerSetup
impl UnsafeUnpin for ServerSetup
impl UnwindSafe for ServerSetup
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