pub struct ExtractedSignature {
pub text: String,
pub contact: Option<ExtractedContact>,
pub confidence: Option<f64>,
}Expand description
An extracted signature from a message.
Fields§
§text: StringRaw signature text.
contact: Option<ExtractedContact>Parsed contact information if requested.
confidence: Option<f64>Confidence score (0.0 to 1.0).
Trait Implementations§
Source§impl Clone for ExtractedSignature
impl Clone for ExtractedSignature
Source§fn clone(&self) -> ExtractedSignature
fn clone(&self) -> ExtractedSignature
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 ExtractedSignature
impl Debug for ExtractedSignature
Source§impl<'de> Deserialize<'de> for ExtractedSignature
impl<'de> Deserialize<'de> for ExtractedSignature
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 ExtractedSignature
impl PartialEq for ExtractedSignature
Source§fn eq(&self, other: &ExtractedSignature) -> bool
fn eq(&self, other: &ExtractedSignature) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExtractedSignature
impl Serialize for ExtractedSignature
impl StructuralPartialEq for ExtractedSignature
Auto Trait Implementations§
impl Freeze for ExtractedSignature
impl RefUnwindSafe for ExtractedSignature
impl Send for ExtractedSignature
impl Sync for ExtractedSignature
impl Unpin for ExtractedSignature
impl UnsafeUnpin for ExtractedSignature
impl UnwindSafe for ExtractedSignature
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