pub struct ParsedDate {
pub datetime: DateTime<Utc>,
pub detected_format: String,
pub confidence: f64,
pub original_input: String,
pub timezone: Option<String>,
pub metadata: ParseMetadata,
}
Expand description
Parse result containing the extracted date information
Fields§
§datetime: DateTime<Utc>
The parsed datetime in UTC
detected_format: String
The detected format pattern
confidence: f64
Confidence score (0.0 to 1.0)
original_input: String
Original input string
timezone: Option<String>
Timezone information if detected
metadata: ParseMetadata
Additional metadata about the parsing
Trait Implementations§
Source§impl Clone for ParsedDate
impl Clone for ParsedDate
Source§fn clone(&self) -> ParsedDate
fn clone(&self) -> ParsedDate
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 ParsedDate
impl Debug for ParsedDate
Source§impl<'de> Deserialize<'de> for ParsedDate
impl<'de> Deserialize<'de> for ParsedDate
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 ParsedDate
impl PartialEq for ParsedDate
Source§impl Serialize for ParsedDate
impl Serialize for ParsedDate
impl StructuralPartialEq for ParsedDate
Auto Trait Implementations§
impl Freeze for ParsedDate
impl RefUnwindSafe for ParsedDate
impl Send for ParsedDate
impl Sync for ParsedDate
impl Unpin for ParsedDate
impl UnwindSafe for ParsedDate
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