pub struct SegmentResult {
pub name: String,
pub metadata: SegmentMetadata,
}Expand description
Represents a segment that matched during evaluation.
Fields§
§name: StringThe segment name.
metadata: SegmentMetadataMetadata about the segment.
Trait Implementations§
Source§impl Clone for SegmentResult
impl Clone for SegmentResult
Source§fn clone(&self) -> SegmentResult
fn clone(&self) -> SegmentResult
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 SegmentResult
impl Debug for SegmentResult
Source§impl<'de> Deserialize<'de> for SegmentResult
impl<'de> Deserialize<'de> for SegmentResult
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 SegmentResult
impl PartialEq for SegmentResult
Source§impl Serialize for SegmentResult
impl Serialize for SegmentResult
impl StructuralPartialEq for SegmentResult
Auto Trait Implementations§
impl Freeze for SegmentResult
impl RefUnwindSafe for SegmentResult
impl Send for SegmentResult
impl Sync for SegmentResult
impl Unpin for SegmentResult
impl UnwindSafe for SegmentResult
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