[][src]Struct grid_sdk::protocol::pike::state::Agent

pub struct Agent { /* fields omitted */ }

Native implementation of Agent

Methods

impl Agent[src]

pub fn org_id(&self) -> &str[src]

pub fn public_key(&self) -> &str[src]

pub fn active(&self) -> &bool[src]

pub fn roles(&self) -> &[String][src]

pub fn metadata(&self) -> &[KeyValueEntry][src]

Trait Implementations

impl FromProto<Agent> for Agent[src]

impl FromNative<Agent> for Agent[src]

impl FromBytes<Agent> for Agent[src]

impl IntoBytes for Agent[src]

impl IntoNative<Agent> for Agent[src]

impl IntoProto<Agent> for Agent[src]

impl PartialEq<Agent> for Agent[src]

impl Clone for Agent[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Agent[src]

Auto Trait Implementations

impl Send for Agent

impl Sync for Agent

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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