pub struct GetEndpointsRequest {
pub limit: Option<i32>,
pub offset: Option<i32>,
pub search: Option<String>,
pub sort_by: Option<String>,
pub sort_direction: Option<String>,
pub networks: Option<Vec<String>>,
pub statuses: Option<Vec<String>>,
pub labels: Option<Vec<String>>,
pub dedicated: Option<bool>,
pub is_flat_rate: Option<bool>,
pub tag_ids: Option<Vec<i32>>,
pub tag_labels: Option<Vec<String>>,
}Expand description
Parameters for get_endpoints.
Fields§
§limit: Option<i32>Maximum number of endpoints returned.
offset: Option<i32>Starting index into the result set.
search: Option<String>Search by subdomain or label.
sort_by: Option<String>Field to sort results by.
sort_direction: Option<String>Sort direction (asc or desc).
networks: Option<Vec<String>>Filter results to endpoints on these networks.
statuses: Option<Vec<String>>Filter results to endpoints in these statuses.
labels: Option<Vec<String>>Filter results by label.
dedicated: Option<bool>When true, return only dedicated endpoints.
is_flat_rate: Option<bool>When true, return only flat-rate endpoints.
tag_ids: Option<Vec<i32>>Filter results by associated tag ids.
tag_labels: Option<Vec<String>>Filter results by associated tag labels.
Trait Implementations§
Source§impl Clone for GetEndpointsRequest
impl Clone for GetEndpointsRequest
Source§fn clone(&self) -> GetEndpointsRequest
fn clone(&self) -> GetEndpointsRequest
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 GetEndpointsRequest
impl Debug for GetEndpointsRequest
Source§impl Default for GetEndpointsRequest
impl Default for GetEndpointsRequest
Source§fn default() -> GetEndpointsRequest
fn default() -> GetEndpointsRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetEndpointsRequest
impl RefUnwindSafe for GetEndpointsRequest
impl Send for GetEndpointsRequest
impl Sync for GetEndpointsRequest
impl Unpin for GetEndpointsRequest
impl UnsafeUnpin for GetEndpointsRequest
impl UnwindSafe for GetEndpointsRequest
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