pub struct ClientInfo {
pub name: String,
pub version: String,
pub title: Option<String>,
pub description: Option<String>,
pub icons: Option<Vec<Icon>>,
pub website_url: Option<String>,
}Expand description
Client information for initialization (2025-11-25).
Fields§
§name: StringIntended for programmatic or logical use.
version: StringThe version of the client implementation.
title: Option<String>Intended for UI and end-user contexts — optimized to be human-readable.
description: Option<String>An optional human-readable description.
icons: Option<Vec<Icon>>Optional set of sized icons that can be displayed.
website_url: Option<String>An optional URL of the website for this implementation.
Implementations§
Trait Implementations§
Source§impl Clone for ClientInfo
impl Clone for ClientInfo
Source§fn clone(&self) -> ClientInfo
fn clone(&self) -> ClientInfo
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 ClientInfo
impl Debug for ClientInfo
Source§impl<'de> Deserialize<'de> for ClientInfo
impl<'de> Deserialize<'de> for ClientInfo
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
Auto Trait Implementations§
impl Freeze for ClientInfo
impl RefUnwindSafe for ClientInfo
impl Send for ClientInfo
impl Sync for ClientInfo
impl Unpin for ClientInfo
impl UnwindSafe for ClientInfo
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