pub struct RulepackException {
pub name: String,
pub rule_ids: Vec<String>,
pub rule_names: Vec<String>,
pub tags: Vec<String>,
pub routes: Vec<String>,
pub methods: Vec<String>,
pub path_prefixes: Vec<String>,
pub source_cidrs: Vec<String>,
pub reason: String,
pub expires_at: Option<String>,
}Fields§
§name: String§rule_ids: Vec<String>§rule_names: Vec<String>§routes: Vec<String>§methods: Vec<String>§path_prefixes: Vec<String>§source_cidrs: Vec<String>§reason: String§expires_at: Option<String>Trait Implementations§
Source§impl Clone for RulepackException
impl Clone for RulepackException
Source§fn clone(&self) -> RulepackException
fn clone(&self) -> RulepackException
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 RulepackException
impl Debug for RulepackException
Source§impl<'de> Deserialize<'de> for RulepackException
impl<'de> Deserialize<'de> for RulepackException
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 RulepackException
impl PartialEq for RulepackException
Source§impl Serialize for RulepackException
impl Serialize for RulepackException
impl StructuralPartialEq for RulepackException
Auto Trait Implementations§
impl Freeze for RulepackException
impl RefUnwindSafe for RulepackException
impl Send for RulepackException
impl Sync for RulepackException
impl Unpin for RulepackException
impl UnsafeUnpin for RulepackException
impl UnwindSafe for RulepackException
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