pub struct RepositoryPropertyAndRefName {
pub ref_name: Option<Box<RepositoryRulesetConditionsRefName>>,
pub repository_property: Box<RepositoryRulesetConditionsRepositoryPropertyTargetRepositoryProperty>,
}
Expand description
RepositoryPropertyAndRefName : Conditions to target repositories by property and refs by name
Fields§
§ref_name: Option<Box<RepositoryRulesetConditionsRefName>>
§repository_property: Box<RepositoryRulesetConditionsRepositoryPropertyTargetRepositoryProperty>
Implementations§
Source§impl RepositoryPropertyAndRefName
impl RepositoryPropertyAndRefName
Sourcepub fn new(
repository_property: RepositoryRulesetConditionsRepositoryPropertyTargetRepositoryProperty,
) -> RepositoryPropertyAndRefName
pub fn new( repository_property: RepositoryRulesetConditionsRepositoryPropertyTargetRepositoryProperty, ) -> RepositoryPropertyAndRefName
Conditions to target repositories by property and refs by name
Trait Implementations§
Source§impl Clone for RepositoryPropertyAndRefName
impl Clone for RepositoryPropertyAndRefName
Source§fn clone(&self) -> RepositoryPropertyAndRefName
fn clone(&self) -> RepositoryPropertyAndRefName
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 RepositoryPropertyAndRefName
impl Debug for RepositoryPropertyAndRefName
Source§impl Default for RepositoryPropertyAndRefName
impl Default for RepositoryPropertyAndRefName
Source§fn default() -> RepositoryPropertyAndRefName
fn default() -> RepositoryPropertyAndRefName
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryPropertyAndRefName
impl<'de> Deserialize<'de> for RepositoryPropertyAndRefName
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 RepositoryPropertyAndRefName
impl PartialEq for RepositoryPropertyAndRefName
Source§fn eq(&self, other: &RepositoryPropertyAndRefName) -> bool
fn eq(&self, other: &RepositoryPropertyAndRefName) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RepositoryPropertyAndRefName
Auto Trait Implementations§
impl Freeze for RepositoryPropertyAndRefName
impl RefUnwindSafe for RepositoryPropertyAndRefName
impl Send for RepositoryPropertyAndRefName
impl Sync for RepositoryPropertyAndRefName
impl Unpin for RepositoryPropertyAndRefName
impl UnwindSafe for RepositoryPropertyAndRefName
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