pub struct RepositoryRuleset {
pub id: i64,
pub name: String,
pub target: Option<String>,
pub enforcement: Option<String>,
}Expand description
A repository ruleset, as much of it as anything here reads.
Fields§
§id: i64§name: String§target: Option<String>§enforcement: Option<String>Trait Implementations§
Source§impl Clone for RepositoryRuleset
impl Clone for RepositoryRuleset
Source§impl Debug for RepositoryRuleset
impl Debug for RepositoryRuleset
Source§impl<'de> Deserialize<'de> for RepositoryRuleset
impl<'de> Deserialize<'de> for RepositoryRuleset
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 RepositoryRuleset
impl RefUnwindSafe for RepositoryRuleset
impl Send for RepositoryRuleset
impl Sync for RepositoryRuleset
impl Unpin for RepositoryRuleset
impl UnsafeUnpin for RepositoryRuleset
impl UnwindSafe for RepositoryRuleset
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