pub struct GetAclRules {
pub site_id: String,
}Expand description
Fetch all ACL rules for a specific site. Endpoint: GET /v1/sites/{siteId}/acl-rules
Fields§
§site_id: StringImplementations§
Trait Implementations§
Source§impl Clone for GetAclRules
impl Clone for GetAclRules
Source§fn clone(&self) -> GetAclRules
fn clone(&self) -> GetAclRules
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 Debug for GetAclRules
impl Debug for GetAclRules
Source§impl Endpoint for GetAclRules
impl Endpoint for GetAclRules
const PATH: &'static str = "sites/{site_id}/acl-rules"
const METHOD: HttpMethod = HttpMethod::Get
type Response = SiteResponse<AclRule>
Source§fn build_path(&self) -> String
fn build_path(&self) -> String
Build the actual path for this endpoint.
Override this method when the endpoint has dynamic path parameters.
Auto Trait Implementations§
impl Freeze for GetAclRules
impl RefUnwindSafe for GetAclRules
impl Send for GetAclRules
impl Sync for GetAclRules
impl Unpin for GetAclRules
impl UnsafeUnpin for GetAclRules
impl UnwindSafe for GetAclRules
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