pub struct VoiceClient {
pub token: String,
/* private fields */
}Fields§
§token: StringYour bot’s Token
Implementations§
Trait Implementations§
Source§impl Clone for VoiceClient
impl Clone for VoiceClient
Source§fn clone(&self) -> VoiceClient
fn clone(&self) -> VoiceClient
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 moreAuto Trait Implementations§
impl Freeze for VoiceClient
impl !RefUnwindSafe for VoiceClient
impl Send for VoiceClient
impl Sync for VoiceClient
impl Unpin for VoiceClient
impl !UnwindSafe for VoiceClient
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