pub struct PolicyRuleResponse {
pub id: String,
pub name: String,
pub method: String,
pub conditions: Vec<PolicyConditionResponse>,
pub action: String,
}Expand description
A rule as returned by GET /v1/policies/{id}.
Fields§
§id: String§name: String§method: String§conditions: Vec<PolicyConditionResponse>§action: StringTrait Implementations§
Source§impl Debug for PolicyRuleResponse
impl Debug for PolicyRuleResponse
Source§impl Default for PolicyRuleResponse
impl Default for PolicyRuleResponse
Source§fn default() -> PolicyRuleResponse
fn default() -> PolicyRuleResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyRuleResponsewhere
PolicyRuleResponse: Default,
impl<'de> Deserialize<'de> for PolicyRuleResponsewhere
PolicyRuleResponse: Default,
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
Auto Trait Implementations§
impl Freeze for PolicyRuleResponse
impl RefUnwindSafe for PolicyRuleResponse
impl Send for PolicyRuleResponse
impl Sync for PolicyRuleResponse
impl Unpin for PolicyRuleResponse
impl UnsafeUnpin for PolicyRuleResponse
impl UnwindSafe for PolicyRuleResponse
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