Struct tailscale_api::Device [−][src]
pub struct Device {}Show fields
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: String
client_version: String
os: String
name: String
created: DateTime<Utc>
last_seen: DateTime<Utc>
hostname: String
machine_key: String
node_key: String
id: String
display_node_key: String
log_id: String
user: String
expires: DateTime<Utc>
never_expires: bool
is_external: bool
update_available: bool
route_all: bool
has_subnet: bool
Trait Implementations
impl<'de> Deserialize<'de> for Device
[src]
impl<'de> Deserialize<'de> for Device
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,