pub struct ListActionsForFirewallResponse {
pub actions: Vec<Action>,
pub meta: Option<Box<Meta>>,
}
Expand description
ListActionsForFirewallResponse : Response to GET https://api.hetzner.cloud/v1/firewalls/{id}/actions
Fields§
§actions: Vec<Action>
§meta: Option<Box<Meta>>
Implementations§
source§impl ListActionsForFirewallResponse
impl ListActionsForFirewallResponse
sourcepub fn new(actions: Vec<Action>) -> ListActionsForFirewallResponse
pub fn new(actions: Vec<Action>) -> ListActionsForFirewallResponse
Response to GET https://api.hetzner.cloud/v1/firewalls/{id}/actions
Trait Implementations§
source§impl Clone for ListActionsForFirewallResponse
impl Clone for ListActionsForFirewallResponse
source§fn clone(&self) -> ListActionsForFirewallResponse
fn clone(&self) -> ListActionsForFirewallResponse
Returns a copy 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 Default for ListActionsForFirewallResponse
impl Default for ListActionsForFirewallResponse
source§fn default() -> ListActionsForFirewallResponse
fn default() -> ListActionsForFirewallResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ListActionsForFirewallResponse
impl<'de> Deserialize<'de> for ListActionsForFirewallResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ListActionsForFirewallResponse
impl PartialEq for ListActionsForFirewallResponse
source§fn eq(&self, other: &ListActionsForFirewallResponse) -> bool
fn eq(&self, other: &ListActionsForFirewallResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListActionsForFirewallResponse
Auto Trait Implementations§
impl RefUnwindSafe for ListActionsForFirewallResponse
impl Send for ListActionsForFirewallResponse
impl Sync for ListActionsForFirewallResponse
impl Unpin for ListActionsForFirewallResponse
impl UnwindSafe for ListActionsForFirewallResponse
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