pub struct DeviceStartIn {
pub label: Option<String>,
pub provider: Option<String>,
}Fields§
§label: Option<String>Label names this connection so one user can hold several per provider ("work", "personal"). Empty means "default". 1-64 of [A-Za-z0-9._-].
provider: Option<String>Provider is the user-scoped provider’s registry id, from the path.
Implementations§
Source§impl DeviceStartIn
impl DeviceStartIn
pub fn new() -> DeviceStartIn
Trait Implementations§
Source§impl Clone for DeviceStartIn
impl Clone for DeviceStartIn
Source§fn clone(&self) -> DeviceStartIn
fn clone(&self) -> DeviceStartIn
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeviceStartIn
impl Debug for DeviceStartIn
Source§impl Default for DeviceStartIn
impl Default for DeviceStartIn
Source§fn default() -> DeviceStartIn
fn default() -> DeviceStartIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceStartIn
impl<'de> Deserialize<'de> for DeviceStartIn
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 DeviceStartIn
impl PartialEq for DeviceStartIn
Source§impl Serialize for DeviceStartIn
impl Serialize for DeviceStartIn
impl StructuralPartialEq for DeviceStartIn
Auto Trait Implementations§
impl Freeze for DeviceStartIn
impl RefUnwindSafe for DeviceStartIn
impl Send for DeviceStartIn
impl Sync for DeviceStartIn
impl Unpin for DeviceStartIn
impl UnsafeUnpin for DeviceStartIn
impl UnwindSafe for DeviceStartIn
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