pub struct TrackConfig {
pub form_factor: Option<String>,
pub track: Option<String>,
pub type_: Option<String>,
}Expand description
Configurations of the new track.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- tracks create edits (request)
Fields§
§form_factor: Option<String>Required. Form factor of the new track. Defaults to the default track.
track: Option<String>Required. Identifier of the new track. For default tracks, this field consists of the track alias only. Form factor tracks have a special prefix as an identifier, for example wear:production, automotive:production. This prefix must match the value of the form_factor field, if it is not a default track. More on track name
type_: Option<String>Required. Type of the new track. Currently, the only supported value is closedTesting.
Trait Implementations§
Source§impl Clone for TrackConfig
impl Clone for TrackConfig
Source§fn clone(&self) -> TrackConfig
fn clone(&self) -> TrackConfig
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 TrackConfig
impl Debug for TrackConfig
Source§impl Default for TrackConfig
impl Default for TrackConfig
Source§fn default() -> TrackConfig
fn default() -> TrackConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrackConfig
impl<'de> Deserialize<'de> for TrackConfig
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 Serialize for TrackConfig
impl Serialize for TrackConfig
impl RequestValue for TrackConfig
Auto Trait Implementations§
impl Freeze for TrackConfig
impl RefUnwindSafe for TrackConfig
impl Send for TrackConfig
impl Sync for TrackConfig
impl Unpin for TrackConfig
impl UnwindSafe for TrackConfig
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