Struct onesignal_rust_api::models::segment::Segment
source · 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§
source§impl<'de> Deserialize<'de> for Segment
impl<'de> Deserialize<'de> for Segment
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