pub struct Segment {
pub id: Option<String>,
pub name: String,
pub filters: Vec<FilterExpressions>,
}
Fields
id: Option<String>
UUID of the segment. If left empty, it will be assigned automaticaly.
name: String
Name of the segment. You’ll see this name on the Web UI.
filters: Vec<FilterExpressions>
Filter or operators the segment will have. For a list of available filters with details, please see Send to Users Based on Filters.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Segment
impl<'de> Deserialize<'de> for Segment
sourcefn 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
impl StructuralPartialEq for Segment
Auto Trait Implementations
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnwindSafe for Segment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more