pub struct PatchRecordingMetadata {
pub filename: Option<String>,
pub description: Option<String>,
pub author: Option<String>,
pub geolocation: Option<DeviceGeolocation>,
}Expand description
Recording metadata PATCH JSON schema.
This JSON schema corresponds to PATCH and PUT requests on
/api/recording/metadata. It is used to modify the metadata for the current
recording.
Fields§
§filename: Option<String>Recording file name.
description: Option<String>Recording description.
Recording author.
geolocation: Option<DeviceGeolocation>Recording geolocation.
This corresponds to the SigMF “core:geolocation” key. It contains None
inside the DeviceGeolocation to remove the geolocation from the
metadata.
Trait Implementations§
Source§impl Clone for PatchRecordingMetadata
impl Clone for PatchRecordingMetadata
Source§fn clone(&self) -> PatchRecordingMetadata
fn clone(&self) -> PatchRecordingMetadata
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 PatchRecordingMetadata
impl Debug for PatchRecordingMetadata
Source§impl Default for PatchRecordingMetadata
impl Default for PatchRecordingMetadata
Source§fn default() -> PatchRecordingMetadata
fn default() -> PatchRecordingMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchRecordingMetadata
impl<'de> Deserialize<'de> for PatchRecordingMetadata
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 From<RecordingMetadata> for PatchRecordingMetadata
impl From<RecordingMetadata> for PatchRecordingMetadata
Source§fn from(val: RecordingMetadata) -> PatchRecordingMetadata
fn from(val: RecordingMetadata) -> PatchRecordingMetadata
Converts to this type from the input type.
Source§impl PartialEq for PatchRecordingMetadata
impl PartialEq for PatchRecordingMetadata
Source§impl Serialize for PatchRecordingMetadata
impl Serialize for PatchRecordingMetadata
impl StructuralPartialEq for PatchRecordingMetadata
Auto Trait Implementations§
impl Freeze for PatchRecordingMetadata
impl RefUnwindSafe for PatchRecordingMetadata
impl Send for PatchRecordingMetadata
impl Sync for PatchRecordingMetadata
impl Unpin for PatchRecordingMetadata
impl UnwindSafe for PatchRecordingMetadata
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