pub struct ClientMethodNames {
pub session_request_permission: &'static str,
pub session_update: &'static str,
pub fs_write_text_file: &'static str,
pub fs_read_text_file: &'static str,
}Expand description
Names of all methods that clients handle.
Provides a centralized definition of method names used in the protocol.
Fields§
§session_request_permission: &'static strMethod for requesting permission from the user.
session_update: &'static strNotification for session updates.
fs_write_text_file: &'static strMethod for writing text files.
fs_read_text_file: &'static strMethod for reading text files.
Trait Implementations§
Source§impl Clone for ClientMethodNames
impl Clone for ClientMethodNames
Source§fn clone(&self) -> ClientMethodNames
fn clone(&self) -> ClientMethodNames
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 ClientMethodNames
impl Debug for ClientMethodNames
Source§impl Deserialize<'static> for ClientMethodNames
impl Deserialize<'static> for ClientMethodNames
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClientMethodNames
impl RefUnwindSafe for ClientMethodNames
impl Send for ClientMethodNames
impl Sync for ClientMethodNames
impl Unpin for ClientMethodNames
impl UnwindSafe for ClientMethodNames
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