pub struct AudioInput {
pub bytes: Vec<u8>,
pub recorded_at: DateTime<Utc>,
pub original_filename: Option<String>,
}Expand description
Owned audio and its source metadata.
Fields§
§bytes: Vec<u8>Complete WAV bytes.
recorded_at: DateTime<Utc>Instant at which recording began.
original_filename: Option<String>Original leaf filename, when known.
Trait Implementations§
Source§impl Clone for AudioInput
impl Clone for AudioInput
Source§fn clone(&self) -> AudioInput
fn clone(&self) -> AudioInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AudioInput
impl RefUnwindSafe for AudioInput
impl Send for AudioInput
impl Sync for AudioInput
impl Unpin for AudioInput
impl UnsafeUnpin for AudioInput
impl UnwindSafe for AudioInput
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