pub struct DownloadStates {
pub audio: Option<bool>,
pub camera: Option<bool>,
pub screen: Option<bool>,
pub camera_layout: Option<VideoLayoutIntent>,
pub screen_layout: Option<VideoLayoutIntent>,
}Expand description
receiver intent for which streams to download from one peer
this is client intent, not a transport subscription object missing fields mean the current receiver preference for that stream or layout should be left unchanged
Fields§
§audio: Option<bool>§camera: Option<bool>§screen: Option<bool>§camera_layout: Option<VideoLayoutIntent>§screen_layout: Option<VideoLayoutIntent>Implementations§
Source§impl DownloadStates
impl DownloadStates
pub fn apply_partial_update(&mut self, update: &Self)
Trait Implementations§
Source§impl Clone for DownloadStates
impl Clone for DownloadStates
Source§fn clone(&self) -> DownloadStates
fn clone(&self) -> DownloadStates
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 DownloadStates
impl Debug for DownloadStates
Source§impl Default for DownloadStates
impl Default for DownloadStates
Source§fn default() -> DownloadStates
fn default() -> DownloadStates
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DownloadStates
impl<'de> Deserialize<'de> for DownloadStates
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
Source§impl PartialEq for DownloadStates
impl PartialEq for DownloadStates
Source§impl Serialize for DownloadStates
impl Serialize for DownloadStates
impl Eq for DownloadStates
impl StructuralPartialEq for DownloadStates
Auto Trait Implementations§
impl Freeze for DownloadStates
impl RefUnwindSafe for DownloadStates
impl Send for DownloadStates
impl Sync for DownloadStates
impl Unpin for DownloadStates
impl UnsafeUnpin for DownloadStates
impl UnwindSafe for DownloadStates
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