pub struct PromptSource {
pub end: f64,
pub start: f64,
pub text: String,
}Fields§
§end: f64§start: f64§text: StringTrait Implementations§
Source§impl Clone for PromptSource
impl Clone for PromptSource
Source§fn clone(&self) -> PromptSource
fn clone(&self) -> PromptSource
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 moreSource§impl Debug for PromptSource
impl Debug for PromptSource
Source§impl<'de> Deserialize<'de> for PromptSource
impl<'de> Deserialize<'de> for PromptSource
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 PromptSource
impl PartialEq for PromptSource
Source§impl Serialize for PromptSource
impl Serialize for PromptSource
impl StructuralPartialEq for PromptSource
Auto Trait Implementations§
impl Freeze for PromptSource
impl RefUnwindSafe for PromptSource
impl Send for PromptSource
impl Sync for PromptSource
impl Unpin for PromptSource
impl UnsafeUnpin for PromptSource
impl UnwindSafe for PromptSource
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