[][src]Struct sdk_cds::service::Service

pub struct Service {
    pub id: i64,
    pub name: String,
    pub type: String,
    pub http_url: String,
    pub last_heartbeat: Option<DateTime<Utc>>,
    pub hash: String,
    pub token: String,
    pub group_id: i64,
    pub group: Group,
    pub monitoring_status: MonitoringStatus,
    pub config: Value,
    pub is_shared_infra: bool,
    pub version: String,
    pub up_to_date: bool,
}

Fields

id: i64name: Stringtype: Stringhttp_url: Stringlast_heartbeat: Option<DateTime<Utc>>hash: Stringtoken: Stringgroup_id: i64group: Groupmonitoring_status: MonitoringStatusconfig: Valueis_shared_infra: boolversion: Stringup_to_date: bool

Trait Implementations

impl Default for Service[src]

impl Debug for Service[src]

impl Serialize for Service[src]

impl<'de> Deserialize<'de> for Service where
    Service: Default
[src]

Auto Trait Implementations

impl Send for Service

impl Sync for Service

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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> Borrow for T where
    T: ?Sized
[src]

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

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

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

impl<T> Erased for T

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

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