[][src]Struct dsf_rpc::service::ServiceInfo

pub struct ServiceInfo {
    pub id: Id,
    pub index: usize,
    pub state: ServiceState,
    pub public_key: PublicKey,
    pub private_key: Option<PrivateKey>,
    pub secret_key: Option<SecretKey>,
    pub last_updated: Option<SystemTime>,
    pub primary_page: Option<Signature>,
    pub replica_page: Option<Signature>,
    pub body: NewBody<Vec<u8>>,
    pub subscribers: usize,
    pub replicas: usize,
    pub origin: bool,
    pub subscribed: bool,
}

Fields

id: Idindex: usizestate: ServiceStatepublic_key: PublicKeyprivate_key: Option<PrivateKey>secret_key: Option<SecretKey>last_updated: Option<SystemTime>primary_page: Option<Signature>replica_page: Option<Signature>body: NewBody<Vec<u8>>subscribers: usizereplicas: usizeorigin: boolsubscribed: bool

Trait Implementations

impl Clone for ServiceInfo[src]

impl Debug for ServiceInfo[src]

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

impl Display for ServiceInfo[src]

impl PartialEq<ServiceInfo> for ServiceInfo[src]

impl Serialize for ServiceInfo[src]

impl StructuralPartialEq for ServiceInfo[src]

Auto Trait Implementations

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,