Struct google_analytics3::api::Segment
source · pub struct Segment {
pub created: Option<DateTime<Utc>>,
pub definition: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub name: Option<String>,
pub segment_id: Option<String>,
pub self_link: Option<String>,
pub type_: Option<String>,
pub updated: Option<DateTime<Utc>>,
}
Expand description
JSON template for an Analytics segment.
This type is not used in any activity, and only used as part of another schema.
Fields§
§created: Option<DateTime<Utc>>
Time the segment was created.
definition: Option<String>
Segment definition.
id: Option<String>
Segment ID.
kind: Option<String>
Resource type for Analytics segment.
name: Option<String>
Segment name.
segment_id: Option<String>
Segment ID. Can be used with the ‘segment’ parameter in Core Reporting API.
self_link: Option<String>
Link for this segment.
type_: Option<String>
Type for a segment. Possible values are “BUILT_IN” or “CUSTOM”.
updated: Option<DateTime<Utc>>
Time the segment was last modified.
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
impl Part 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§
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