pub struct SegmentDetails {
pub id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub created_at: Option<i32>,
pub source: Option<SourceType>,
pub filters: Option<Vec<FilterExpression>>,
}Expand description
SegmentDetails : Segment details. Only included when the include-segment-detail query parameter is set to true.
Fields§
§id: Option<String>The unique identifier for the segment (UUID v4).
name: Option<String>The segment name.
description: Option<String>Human-readable description for the segment. null when unset. Maximum 255 characters.
created_at: Option<i32>Unix timestamp when the segment was created.
source: Option<SourceType>The source of the segment.
filters: Option<Vec<FilterExpression>>Array of filter and operator objects defining the segment criteria. Uses the same format as the Create Segment API, so filters can be directly used to recreate or update the segment.
Implementations§
Source§impl SegmentDetails
impl SegmentDetails
Sourcepub fn new() -> SegmentDetails
pub fn new() -> SegmentDetails
Segment details. Only included when the include-segment-detail query parameter is set to true.
Trait Implementations§
Source§impl Clone for SegmentDetails
impl Clone for SegmentDetails
Source§fn clone(&self) -> SegmentDetails
fn clone(&self) -> SegmentDetails
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 SegmentDetails
impl Debug for SegmentDetails
Source§impl Default for SegmentDetails
impl Default for SegmentDetails
Source§fn default() -> SegmentDetails
fn default() -> SegmentDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SegmentDetails
impl<'de> Deserialize<'de> for SegmentDetails
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 SegmentDetails
impl PartialEq for SegmentDetails
Source§impl Serialize for SegmentDetails
impl Serialize for SegmentDetails
impl StructuralPartialEq for SegmentDetails
Auto Trait Implementations§
impl Freeze for SegmentDetails
impl RefUnwindSafe for SegmentDetails
impl Send for SegmentDetails
impl Sync for SegmentDetails
impl Unpin for SegmentDetails
impl UnsafeUnpin for SegmentDetails
impl UnwindSafe for SegmentDetails
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