pub struct Snapshot {
pub state: State,
pub muted: bool,
pub voice: String,
pub speed: f32,
pub queue_len: usize,
pub remaining_secs: f64,
pub current_text: String,
pub current_id: u64,
pub error: Option<String>,
}Fields§
§state: State§muted: bool§voice: String§speed: f32§queue_len: usize§remaining_secs: f64§current_text: String§current_id: u64§error: Option<String>Trait Implementations§
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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