pub struct MarkerUpdate {
pub name: Option<String>,
pub comment: Option<String>,
pub color: Option<String>,
pub timeline_start: Option<Seconds>,
pub duration: Option<Seconds>,
}Expand description
Changes to apply to a marker; None fields are left as they are.
Fields§
§name: Option<String>§comment: Option<String>§color: Option<String>§timeline_start: Option<Seconds>New start, in timeline seconds.
duration: Option<Seconds>Trait Implementations§
Source§impl Clone for MarkerUpdate
impl Clone for MarkerUpdate
Source§impl Debug for MarkerUpdate
impl Debug for MarkerUpdate
Source§impl Default for MarkerUpdate
impl Default for MarkerUpdate
Source§impl<'de> Deserialize<'de> for MarkerUpdate
impl<'de> Deserialize<'de> for MarkerUpdate
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 JsonSchema for MarkerUpdate
impl JsonSchema for MarkerUpdate
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for MarkerUpdate
impl PartialEq for MarkerUpdate
Source§impl Serialize for MarkerUpdate
impl Serialize for MarkerUpdate
impl StructuralPartialEq for MarkerUpdate
Auto Trait Implementations§
impl Freeze for MarkerUpdate
impl RefUnwindSafe for MarkerUpdate
impl Send for MarkerUpdate
impl Sync for MarkerUpdate
impl Unpin for MarkerUpdate
impl UnsafeUnpin for MarkerUpdate
impl UnwindSafe for MarkerUpdate
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