Struct ts3plugin::Connection
[−]
[src]
pub struct Connection { /* fields omitted */ }
Methods
impl Connection
[src]
fn get_id(&self) -> ConnectionId
fn get_server_id(&self) -> ServerId
fn get_channel_id(&self) -> Result<ChannelId, Error>
fn get_uid(&self) -> Result<&String, &Error>
fn get_name(&self) -> Result<&String, &Error>
fn get_talking(&self) -> Result<TalkStatus, Error>
fn get_whispering(&self) -> Result<bool, Error>
fn get_away(&self) -> Result<AwayStatus, Error>
fn get_away_message(&self) -> Result<&String, &Error>
fn get_input_muted(&self) -> Result<MuteInputStatus, Error>
fn get_output_muted(&self) -> Result<MuteOutputStatus, Error>
fn get_output_only_muted(&self) -> Result<MuteOutputStatus, Error>
fn get_input_hardware(&self) -> Result<HardwareInputStatus, Error>
fn get_output_hardware(&self) -> Result<HardwareOutputStatus, Error>
fn get_phonetic_name(&self) -> Result<&String, &Error>
fn get_recording(&self) -> Result<bool, Error>
fn get_database_id(&self) -> Result<&Permissions, &Error>
fn get_mut_database_id(&mut self) -> Result<&mut Permissions, &mut Error>
fn get_channel_group_id(&self) -> Result<&Permissions, &Error>
fn get_mut_channel_group_id(&mut self) -> Result<&mut Permissions, &mut Error>
fn get_server_groups(&self) -> Result<&Vec<Permissions>, &Error>
fn get_talk_power(&self) -> Result<i32, Error>
fn get_talk_request(&self) -> Result<DateTime<UTC>, Error>
fn get_talk_request_message(&self) -> Result<&String, &Error>
fn get_channel_group_inherited_channel_id(&self) -> Result<ChannelId, Error>
fn get_own_data(&self) -> &Option<OwnConnectionData>
fn get_serverquery_data(&self) -> &Option<ServerqueryConnectionData>
fn get_optional_data(&self) -> &OptionalConnectionData
fn get_mut_optional_data(&mut self) -> &mut OptionalConnectionData
impl Connection
[src]
fn send_message<S: AsRef<str>>(&self, message: S) -> Result<(), Error>
Send a private message to this connection.
Trait Implementations
impl Clone for Connection
[src]
fn clone(&self) -> Connection
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq<Connection> for Connection
[src]
fn eq(&self, other: &Connection) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.