Struct ci2_remote_control::H264Metadata
source · pub struct H264Metadata {
pub version: String,
pub writing_app: String,
pub creation_time: DateTime<FixedOffset>,
pub camera_name: Option<String>,
pub gamma: Option<f32>,
}
Fields§
§version: String
version of this structure
Should be equal to H264_METADATA_VERSION.
This field must always be serialized first.
writing_app: String
§creation_time: DateTime<FixedOffset>
§camera_name: Option<String>
§gamma: Option<f32>
Implementations§
source§impl H264Metadata
impl H264Metadata
pub fn new(writing_app: &str, creation_time: DateTime<FixedOffset>) -> Self
Trait Implementations§
source§impl Clone for H264Metadata
impl Clone for H264Metadata
source§fn clone(&self) -> H264Metadata
fn clone(&self) -> H264Metadata
Returns a copy 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 H264Metadata
impl Debug for H264Metadata
source§impl<'de> Deserialize<'de> for H264Metadata
impl<'de> Deserialize<'de> for H264Metadata
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 H264Metadata
impl PartialEq for H264Metadata
source§fn eq(&self, other: &H264Metadata) -> bool
fn eq(&self, other: &H264Metadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for H264Metadata
impl Serialize for H264Metadata
impl StructuralPartialEq for H264Metadata
Auto Trait Implementations§
impl Freeze for H264Metadata
impl RefUnwindSafe for H264Metadata
impl Send for H264Metadata
impl Sync for H264Metadata
impl Unpin for H264Metadata
impl UnwindSafe for H264Metadata
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