pub struct ServeParams {
pub socket_id: u16,
pub commit_id: Option<String>,
pub quality: Quality,
pub extensions: Vec<String>,
pub connection_token: Option<String>,
pub use_local_download: bool,
pub compress: bool,
}
Fields§
§socket_id: u16
§commit_id: Option<String>
§quality: Quality
§extensions: Vec<String>
§connection_token: Option<String>
Optional preferred connection token.
use_local_download: bool
§compress: bool
If true, the client and server should gzip servermsg’s sent in either direction.
Trait Implementations§
Source§impl Debug for ServeParams
impl Debug for ServeParams
Source§impl<'de> Deserialize<'de> for ServeParams
impl<'de> Deserialize<'de> for ServeParams
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
Auto Trait Implementations§
impl Freeze for ServeParams
impl RefUnwindSafe for ServeParams
impl Send for ServeParams
impl Sync for ServeParams
impl Unpin for ServeParams
impl UnwindSafe for ServeParams
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