pub struct RepositoryRulesetConditions {
pub ref_name: Option<Box<RepositoryRulesetConditionsRefName>>,
pub repository_name: Box<RepositoryRulesetConditionsRepositoryNameTargetRepositoryName>,
pub repository_id: Box<RepositoryRulesetConditionsRepositoryIdTargetRepositoryId>,
pub repository_property: Box<RepositoryRulesetConditionsRepositoryPropertyTargetRepositoryProperty>,
}
Fields§
§ref_name: Option<Box<RepositoryRulesetConditionsRefName>>
§repository_name: Box<RepositoryRulesetConditionsRepositoryNameTargetRepositoryName>
§repository_id: Box<RepositoryRulesetConditionsRepositoryIdTargetRepositoryId>
§repository_property: Box<RepositoryRulesetConditionsRepositoryPropertyTargetRepositoryProperty>
Implementations§
Source§impl RepositoryRulesetConditions
impl RepositoryRulesetConditions
pub fn new( repository_name: RepositoryRulesetConditionsRepositoryNameTargetRepositoryName, repository_id: RepositoryRulesetConditionsRepositoryIdTargetRepositoryId, repository_property: RepositoryRulesetConditionsRepositoryPropertyTargetRepositoryProperty, ) -> RepositoryRulesetConditions
Trait Implementations§
Source§impl Clone for RepositoryRulesetConditions
impl Clone for RepositoryRulesetConditions
Source§fn clone(&self) -> RepositoryRulesetConditions
fn clone(&self) -> RepositoryRulesetConditions
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 RepositoryRulesetConditions
impl Debug for RepositoryRulesetConditions
Source§impl Default for RepositoryRulesetConditions
impl Default for RepositoryRulesetConditions
Source§fn default() -> RepositoryRulesetConditions
fn default() -> RepositoryRulesetConditions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRulesetConditions
impl<'de> Deserialize<'de> for RepositoryRulesetConditions
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
impl StructuralPartialEq for RepositoryRulesetConditions
Auto Trait Implementations§
impl Freeze for RepositoryRulesetConditions
impl RefUnwindSafe for RepositoryRulesetConditions
impl Send for RepositoryRulesetConditions
impl Sync for RepositoryRulesetConditions
impl Unpin for RepositoryRulesetConditions
impl UnwindSafe for RepositoryRulesetConditions
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