pub struct ServerInfo {
pub name: Option<String>,
pub vendor: Option<String>,
pub version: Option<String>,
pub spec_version: Option<String>,
}Expand description
Contains server information. Refer to libnotify get_server_info docs to better understand specific fields
Fields§
§name: Option<String>A location to store the server name, or None
vendor: Option<String>A location to store the server vendor, or None
version: Option<String>A location to store the server version, or None
spec_version: Option<String>A location to store the version the service is compliant with, or None
Auto Trait Implementations§
impl Freeze for ServerInfo
impl RefUnwindSafe for ServerInfo
impl Send for ServerInfo
impl Sync for ServerInfo
impl Unpin for ServerInfo
impl UnsafeUnpin for ServerInfo
impl UnwindSafe for ServerInfo
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