pub struct Info<'a> {
pub vendor: &'a str,
pub product: &'a str,
pub version: &'a str,
pub url: &'a str,
pub interfaces: Vec<&'a str, 8>,
}
Expand description
Information about a Varlink service implementation.
This is the return type for the GetInfo
method of the org.varlink.service
interface.
Fields§
§vendor: &'a str
The vendor of the service.
product: &'a str
The product name of the service.
version: &'a str
The version of the service.
url: &'a str
The URL associated with the service.
interfaces: Vec<&'a str, 8>
List of interfaces provided by the service.
Implementations§
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Info<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Info<'a>
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
impl<'a> StructuralPartialEq for Info<'a>
Auto Trait Implementations§
impl<'a> Freeze for Info<'a>
impl<'a> RefUnwindSafe for Info<'a>
impl<'a> Send for Info<'a>
impl<'a> Sync for Info<'a>
impl<'a> Unpin for Info<'a>
impl<'a> UnwindSafe for Info<'a>
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