pub struct InstanceInfo {
pub socket_path: PathBuf,
pub server_version: String,
pub protocol_version: String,
pub permissions: Vec<String>,
pub writable_records: Vec<String>,
pub max_subscriptions: Option<usize>,
pub authenticated: bool,
}Expand description
Information about a discovered AimDB instance
Fields§
§socket_path: PathBuf§server_version: String§protocol_version: String§permissions: Vec<String>§writable_records: Vec<String>§max_subscriptions: Option<usize>§authenticated: boolTrait Implementations§
Source§impl Clone for InstanceInfo
impl Clone for InstanceInfo
Source§fn clone(&self) -> InstanceInfo
fn clone(&self) -> InstanceInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 InstanceInfo
impl Debug for InstanceInfo
Source§impl From<(PathBuf, WelcomeMessage)> for InstanceInfo
impl From<(PathBuf, WelcomeMessage)> for InstanceInfo
Source§fn from((socket_path, welcome): (PathBuf, WelcomeMessage)) -> Self
fn from((socket_path, welcome): (PathBuf, WelcomeMessage)) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InstanceInfo
impl RefUnwindSafe for InstanceInfo
impl Send for InstanceInfo
impl Sync for InstanceInfo
impl Unpin for InstanceInfo
impl UnsafeUnpin for InstanceInfo
impl UnwindSafe for InstanceInfo
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