pub struct TextPartTime {
pub start: f64,
pub end: Option<f64>,
}Expand description
Timing information for a TextPart.
Fields§
§start: f64Epoch timestamp when text streaming started.
end: Option<f64>Epoch timestamp when text streaming ended.
Trait Implementations§
Source§impl Clone for TextPartTime
impl Clone for TextPartTime
Source§fn clone(&self) -> TextPartTime
fn clone(&self) -> TextPartTime
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 moreSource§impl Debug for TextPartTime
impl Debug for TextPartTime
Source§impl<'de> Deserialize<'de> for TextPartTime
impl<'de> Deserialize<'de> for TextPartTime
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
Source§impl PartialEq for TextPartTime
impl PartialEq for TextPartTime
Source§impl Serialize for TextPartTime
impl Serialize for TextPartTime
impl StructuralPartialEq for TextPartTime
Auto Trait Implementations§
impl Freeze for TextPartTime
impl RefUnwindSafe for TextPartTime
impl Send for TextPartTime
impl Sync for TextPartTime
impl Unpin for TextPartTime
impl UnwindSafe for TextPartTime
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