pub struct SegmentData {
pub id: Option<String>,
pub name: Option<String>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub app_id: Option<String>,
pub read_only: Option<bool>,
pub is_active: Option<bool>,
}Fields§
§id: Option<String>The segment ID
name: Option<String>The segment name
created_at: Option<String>Date segment created
updated_at: Option<String>Date segment last updated
app_id: Option<String>The app id
read_only: Option<bool>Is the segment read only?
is_active: Option<bool>Is the segment active?
Implementations§
Source§impl SegmentData
impl SegmentData
pub fn new() -> SegmentData
Trait Implementations§
Source§impl Clone for SegmentData
impl Clone for SegmentData
Source§fn clone(&self) -> SegmentData
fn clone(&self) -> SegmentData
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 SegmentData
impl Debug for SegmentData
Source§impl Default for SegmentData
impl Default for SegmentData
Source§fn default() -> SegmentData
fn default() -> SegmentData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SegmentData
impl<'de> Deserialize<'de> for SegmentData
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 SegmentData
impl PartialEq for SegmentData
Source§impl Serialize for SegmentData
impl Serialize for SegmentData
impl StructuralPartialEq for SegmentData
Auto Trait Implementations§
impl Freeze for SegmentData
impl RefUnwindSafe for SegmentData
impl Send for SegmentData
impl Sync for SegmentData
impl Unpin for SegmentData
impl UnwindSafe for SegmentData
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