pub struct TagProtection {
pub created_at: Option<OffsetDateTime>,
pub id: Option<i64>,
pub name_pattern: Option<String>,
pub updated_at: Option<OffsetDateTime>,
pub whitelist_teams: Option<Vec<String>>,
pub whitelist_usernames: Option<Vec<String>>,
}Expand description
TagProtection represents a tag protection
Fields§
§created_at: Option<OffsetDateTime>§id: Option<i64>§name_pattern: Option<String>§updated_at: Option<OffsetDateTime>§whitelist_teams: Option<Vec<String>>§whitelist_usernames: Option<Vec<String>>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<'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 FromResponse for TagProtection
impl FromResponse for TagProtection
fn from_response( response: ApiResponse, has_body: bool, ) -> Result<Self, StructureError>
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