Struct vtubestudio::data::NdiConfigResponse
source · [−]pub struct NdiConfigResponse {
pub set_new_config: bool,
pub ndi_active: bool,
pub use_ndi5: bool,
pub use_custom_resolution: bool,
pub custom_width_ndi: i32,
pub custom_height_ndi: i32,
}
Expand description
Data about the requested expressions.
This is the return value of NdiConfigRequest
.
Fields
set_new_config: bool
This field has no significance in the response.
ndi_active: bool
Whether NDI is active.
use_ndi5: bool
Whether NDI 5 is being used.
use_custom_resolution: bool
Whether a custom resolution is being used.
custom_width_ndi: i32
The NDI width.
custom_height_ndi: i32
The NDI height.
Trait Implementations
sourceimpl Clone for NdiConfigResponse
impl Clone for NdiConfigResponse
sourcefn clone(&self) -> NdiConfigResponse
fn clone(&self) -> NdiConfigResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NdiConfigResponse
impl Debug for NdiConfigResponse
sourceimpl Default for NdiConfigResponse
impl Default for NdiConfigResponse
sourcefn default() -> NdiConfigResponse
fn default() -> NdiConfigResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for NdiConfigResponse
impl<'de> Deserialize<'de> for NdiConfigResponse
sourcefn 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
sourceimpl PartialEq<NdiConfigResponse> for NdiConfigResponse
impl PartialEq<NdiConfigResponse> for NdiConfigResponse
sourcefn eq(&self, other: &NdiConfigResponse) -> bool
fn eq(&self, other: &NdiConfigResponse) -> bool
sourceimpl Response for NdiConfigResponse
impl Response for NdiConfigResponse
sourceimpl Serialize for NdiConfigResponse
impl Serialize for NdiConfigResponse
impl StructuralPartialEq for NdiConfigResponse
Auto Trait Implementations
impl RefUnwindSafe for NdiConfigResponse
impl Send for NdiConfigResponse
impl Sync for NdiConfigResponse
impl Unpin for NdiConfigResponse
impl UnwindSafe for NdiConfigResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more