pub struct GetSegmentsRequest<'a> {
pub ids: Option<Vec<Value>>,
pub parent_list_ids: Option<String>,
pub no_parent_list_id: Option<bool>,
/* private fields */
}Expand description
Create this with the associated client method.
That method takes required values as arguments. Set optional values using builder methods on this struct.
Fields§
§ids: Option<Vec<Value>>§parent_list_ids: Option<String>§no_parent_list_id: Option<bool>Implementations§
Source§impl<'a> GetSegmentsRequest<'a>
impl<'a> GetSegmentsRequest<'a>
pub async fn send(self) -> Result<AllSegmentsResponse>
pub fn ids(self, ids: Vec<Value>) -> Self
pub fn parent_list_ids(self, parent_list_ids: &str) -> Self
pub fn no_parent_list_id(self, no_parent_list_id: bool) -> Self
Auto Trait Implementations§
impl<'a> Freeze for GetSegmentsRequest<'a>
impl<'a> !RefUnwindSafe for GetSegmentsRequest<'a>
impl<'a> Send for GetSegmentsRequest<'a>
impl<'a> Sync for GetSegmentsRequest<'a>
impl<'a> Unpin for GetSegmentsRequest<'a>
impl<'a> !UnwindSafe for GetSegmentsRequest<'a>
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