pub struct GetFirewallZone {
pub site_id: String,
pub id: String,
}Expand description
Fetch a specific firewall zone by ID within a site. Endpoint: GET /v1/sites/{siteId}/firewall/zones/{id}
Fields§
§site_id: String§id: StringImplementations§
Trait Implementations§
Source§impl Clone for GetFirewallZone
impl Clone for GetFirewallZone
Source§fn clone(&self) -> GetFirewallZone
fn clone(&self) -> GetFirewallZone
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 GetFirewallZone
impl Debug for GetFirewallZone
Source§impl Endpoint for GetFirewallZone
impl Endpoint for GetFirewallZone
const PATH: &'static str = "sites/{site_id}/firewall/zones/{id}"
const METHOD: HttpMethod = HttpMethod::Get
type Response = SiteResponse<FirewallZone>
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 GetFirewallZone
impl RefUnwindSafe for GetFirewallZone
impl Send for GetFirewallZone
impl Sync for GetFirewallZone
impl Unpin for GetFirewallZone
impl UnsafeUnpin for GetFirewallZone
impl UnwindSafe for GetFirewallZone
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