pub struct TagProtection {
pub id: Option<i32>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub enabled: Option<bool>,
pub pattern: String,
}
Expand description
TagProtection : Tag protection
Fields§
§id: Option<i32>
§created_at: Option<String>
§updated_at: Option<String>
§enabled: Option<bool>
§pattern: String
Implementations§
Source§impl TagProtection
impl TagProtection
Sourcepub fn new(pattern: String) -> TagProtection
pub fn new(pattern: String) -> TagProtection
Tag protection
Trait Implementations§
Source§impl Clone for TagProtection
impl Clone for TagProtection
Source§fn clone(&self) -> TagProtection
fn clone(&self) -> TagProtection
Returns a duplicate 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 Debug for TagProtection
impl Debug for TagProtection
Source§impl Default for TagProtection
impl Default for TagProtection
Source§fn default() -> TagProtection
fn default() -> TagProtection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TagProtection
impl<'de> Deserialize<'de> for TagProtection
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 TagProtection
impl PartialEq for TagProtection
Source§impl Serialize for TagProtection
impl Serialize for TagProtection
impl StructuralPartialEq for TagProtection
Auto Trait Implementations§
impl Freeze for TagProtection
impl RefUnwindSafe for TagProtection
impl Send for TagProtection
impl Sync for TagProtection
impl Unpin for TagProtection
impl UnwindSafe for TagProtection
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