pub struct CustomerSegmentsApi { /* private fields */ }
Expand description
Retrieve customer segments (also called smart groups) in a business account.
Implementations§
Source§impl CustomerSegmentsApi
impl CustomerSegmentsApi
pub fn new(config: Configuration, client: HttpClient) -> Self
Sourcepub async fn list_customer_segments(
&self,
params: &ListCustomerSegmentsParameters,
) -> Result<ListCustomerSegmentsResponse, ApiError>
pub async fn list_customer_segments( &self, params: &ListCustomerSegmentsParameters, ) -> Result<ListCustomerSegmentsResponse, ApiError>
Retrieves the list of customer segments of a business.
Sourcepub async fn retrieve_customer_segment(
&self,
segment_id: &str,
) -> Result<RetrieveCustomerSegmentResponse, ApiError>
pub async fn retrieve_customer_segment( &self, segment_id: &str, ) -> Result<RetrieveCustomerSegmentResponse, ApiError>
Retrieves a specific customer segment as identified by the segment_id
value.
Auto Trait Implementations§
impl Freeze for CustomerSegmentsApi
impl !RefUnwindSafe for CustomerSegmentsApi
impl Send for CustomerSegmentsApi
impl Sync for CustomerSegmentsApi
impl Unpin for CustomerSegmentsApi
impl !UnwindSafe for CustomerSegmentsApi
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