pub struct ServiceInfo {
pub version: String,
pub contact: ContactInfo,
pub last_updated: OffsetDateTime,
pub revision: i64,
}Expand description
Service-level information about a running directory service instance.
Returned by GET /info/service/v1 and included in WebSocket notifications.
Fields§
§version: StringFully-qualified version of the implemented interface (e.g. 1.0.0).
contact: ContactInfoContact information for the technical operator.
last_updated: OffsetDateTimeTimestamp of the last update to this service-info object.
revision: i64Monotonically increasing revision counter; starts at 1.
Trait Implementations§
Source§impl Clone for ServiceInfo
impl Clone for ServiceInfo
Source§fn clone(&self) -> ServiceInfo
fn clone(&self) -> ServiceInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceInfo
impl Debug for ServiceInfo
Source§impl<'de> Deserialize<'de> for ServiceInfo
impl<'de> Deserialize<'de> for ServiceInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ServiceInfo
impl PartialEq for ServiceInfo
Source§fn eq(&self, other: &ServiceInfo) -> bool
fn eq(&self, other: &ServiceInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ServiceInfo
impl Serialize for ServiceInfo
impl StructuralPartialEq for ServiceInfo
Auto Trait Implementations§
impl Freeze for ServiceInfo
impl RefUnwindSafe for ServiceInfo
impl Send for ServiceInfo
impl Sync for ServiceInfo
impl Unpin for ServiceInfo
impl UnsafeUnpin for ServiceInfo
impl UnwindSafe for ServiceInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more