pub struct ServerDescription {
pub protocol_ver: u8,
pub subc_ops: Vec<String>,
pub capabilities: Vec<String>,
pub connected_clients: u64,
pub counters: Option<Value>,
pub build_git_sha: Option<String>,
pub build_lock_digest: Option<String>,
pub capability_requirements: Vec<CapabilityRequirementStatus>,
pub machine_id: Option<String>,
pub config_path: Option<PathBuf>,
}Expand description
The daemon’s description of itself from server.describe.
Fields§
§protocol_ver: u8§subc_ops: Vec<String>§capabilities: Vec<String>§connected_clients: u64§counters: Option<Value>§build_git_sha: Option<String>§build_lock_digest: Option<String>§capability_requirements: Vec<CapabilityRequirementStatus>§machine_id: Option<String>Absent from daemons that predate the field.
config_path: Option<PathBuf>The configuration file the daemon reads, as the daemon names it (never canonicalized). Absent when the daemon predates the field, was started without a reloadable config file, or reads a relative path.
Trait Implementations§
Source§impl Clone for ServerDescription
impl Clone for ServerDescription
Source§impl Debug for ServerDescription
impl Debug for ServerDescription
Source§impl PartialEq for ServerDescription
impl PartialEq for ServerDescription
impl StructuralPartialEq for ServerDescription
Auto Trait Implementations§
impl Forget for ServerDescription
impl Freeze for ServerDescription
impl Move for ServerDescription
impl RefUnwindSafe for ServerDescription
impl Send for ServerDescription
impl Sync for ServerDescription
impl Unpin for ServerDescription
impl UnsafeUnpin for ServerDescription
impl UnwindSafe for ServerDescription
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