Struct tailscale_api::Device[][src]

pub struct Device {
    pub addresses: Vec<String>,
    pub allowed_ips: Vec<String>,
    pub extra_ips: Vec<String>,
    pub endpoints: Vec<String>,
    pub derp: String,
    pub client_version: String,
    pub os: String,
    pub name: String,
    pub created: DateTime<Utc>,
    pub last_seen: DateTime<Utc>,
    pub hostname: String,
    pub machine_key: String,
    pub node_key: String,
    pub id: String,
    pub display_node_key: String,
    pub log_id: String,
    pub user: String,
    pub expires: DateTime<Utc>,
    pub never_expires: bool,
    pub authorized: bool,
    pub is_external: bool,
    pub update_available: bool,
    pub route_all: bool,
    pub has_subnet: bool,
}

The data type for a device.

Fields

addresses: Vec<String>allowed_ips: Vec<String>extra_ips: Vec<String>endpoints: Vec<String>derp: Stringclient_version: Stringos: Stringname: Stringcreated: DateTime<Utc>last_seen: DateTime<Utc>hostname: Stringmachine_key: Stringnode_key: Stringid: Stringdisplay_node_key: Stringlog_id: Stringuser: Stringexpires: DateTime<Utc>never_expires: boolauthorized: boolis_external: boolupdate_available: boolroute_all: boolhas_subnet: bool

Trait Implementations

impl Clone for Device[src]

impl Debug for Device[src]

impl<'de> Deserialize<'de> for Device[src]

impl Serialize for Device[src]

Auto Trait Implementations

impl RefUnwindSafe for Device

impl Send for Device

impl Sync for Device

impl Unpin for Device

impl UnwindSafe for Device

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.