pub struct RetrieveCustomerSegmentResponse {
pub errors: Option<Vec<Error>>,
pub segment: Option<Box<CustomerSegment>>,
}Expand description
RetrieveCustomerSegmentResponse : Defines the fields that are included in the response body for requests to the RetrieveCustomerSegment endpoint. Either errors or segment is present in a given response (never both).
Fields§
§errors: Option<Vec<Error>>Any errors that occurred during the request.
segment: Option<Box<CustomerSegment>>Implementations§
Source§impl RetrieveCustomerSegmentResponse
impl RetrieveCustomerSegmentResponse
Sourcepub fn new() -> RetrieveCustomerSegmentResponse
pub fn new() -> RetrieveCustomerSegmentResponse
Defines the fields that are included in the response body for requests to the RetrieveCustomerSegment endpoint. Either errors or segment is present in a given response (never both).
Trait Implementations§
Source§impl Clone for RetrieveCustomerSegmentResponse
impl Clone for RetrieveCustomerSegmentResponse
Source§fn clone(&self) -> RetrieveCustomerSegmentResponse
fn clone(&self) -> RetrieveCustomerSegmentResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for RetrieveCustomerSegmentResponse
impl Default for RetrieveCustomerSegmentResponse
Source§fn default() -> RetrieveCustomerSegmentResponse
fn default() -> RetrieveCustomerSegmentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RetrieveCustomerSegmentResponse
impl<'de> Deserialize<'de> for RetrieveCustomerSegmentResponse
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 StructuralPartialEq for RetrieveCustomerSegmentResponse
Auto Trait Implementations§
impl Freeze for RetrieveCustomerSegmentResponse
impl RefUnwindSafe for RetrieveCustomerSegmentResponse
impl Send for RetrieveCustomerSegmentResponse
impl Sync for RetrieveCustomerSegmentResponse
impl Unpin for RetrieveCustomerSegmentResponse
impl UnsafeUnpin for RetrieveCustomerSegmentResponse
impl UnwindSafe for RetrieveCustomerSegmentResponse
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