pub struct ModifierListSegmentParams {
pub name: String,
pub static_segment: Option<Vec<String>>,
pub options: Option<SegmentOptionsType>,
}
Expand description
Edit/Create List Segment
Fields§
§name: String
The name of the segment.
static_segment: Option<Vec<String>>
An array of emails to be used for a static segment. Any emails provided that are not present on the list will be ignored. Passing an empty array for an existing static segment will reset that segment and remove all members. This field cannot be provided with the options field.
options: Option<SegmentOptionsType>
The conditions of the segment. Static and fuzzy segments don’t have conditions.
Trait Implementations§
Source§impl Clone for ModifierListSegmentParams
impl Clone for ModifierListSegmentParams
Source§fn clone(&self) -> ModifierListSegmentParams
fn clone(&self) -> ModifierListSegmentParams
Returns a copy 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 ModifierListSegmentParams
impl Debug for ModifierListSegmentParams
Source§impl<'de> Deserialize<'de> for ModifierListSegmentParams
impl<'de> Deserialize<'de> for ModifierListSegmentParams
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
Auto Trait Implementations§
impl Freeze for ModifierListSegmentParams
impl RefUnwindSafe for ModifierListSegmentParams
impl Send for ModifierListSegmentParams
impl Sync for ModifierListSegmentParams
impl Unpin for ModifierListSegmentParams
impl UnwindSafe for ModifierListSegmentParams
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