pub enum Method {
Show 16 variants
ClientGetStatus {
params: GetStatusParams,
},
ClientSetVolume {
params: SetVolumeParams,
},
ClientSetLatency {
params: SetLatencyParams,
},
ClientSetName {
params: SetNameParams,
},
GroupGetStatus {
params: GetStatusParams,
},
GroupSetMute {
params: SetMuteParams,
},
GroupSetStream {
params: SetStreamParams,
},
GroupSetClients {
params: SetClientsParams,
},
GroupSetName {
params: SetNameParams,
},
ServerGetRPCVersion,
ServerGetStatus,
ServerDeleteClient {
params: DeleteClientParams,
},
StreamAddStream {
params: AddStreamParams,
},
StreamRemoveStream {
params: RemoveStreamParams,
},
StreamControl {
params: ControlParams,
},
StreamSetProperty {
params: SetPropertyParams,
},
}
Expand description
The method of a request that the client can call
Variants§
ClientGetStatus
Fields
§
params: GetStatusParams
ClientSetVolume
Fields
§
params: SetVolumeParams
ClientSetLatency
Fields
§
params: SetLatencyParams
ClientSetName
Fields
§
params: SetNameParams
GroupGetStatus
Fields
§
params: GetStatusParams
GroupSetMute
Fields
§
params: SetMuteParams
GroupSetStream
Fields
§
params: SetStreamParams
GroupSetClients
Fields
§
params: SetClientsParams
GroupSetName
Fields
§
params: SetNameParams
ServerGetRPCVersion
ServerGetStatus
ServerDeleteClient
Fields
§
params: DeleteClientParams
StreamAddStream
Fields
§
params: AddStreamParams
StreamRemoveStream
Fields
§
params: RemoveStreamParams
StreamControl
Fields
§
params: ControlParams
StreamSetProperty
Fields
§
params: SetPropertyParams
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Method
impl<'de> Deserialize<'de> for Method
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 StructuralPartialEq for Method
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
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