pub struct RepositoryRulePullRequest {
pub _type: Option<String>,
pub parameters: Option<RepositoryrulepullrequestParameters>,
}
Expand description
Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.
Fields§
§_type: Option<String>
§parameters: Option<RepositoryrulepullrequestParameters>
Trait Implementations§
Source§impl Clone for RepositoryRulePullRequest
impl Clone for RepositoryRulePullRequest
Source§fn clone(&self) -> RepositoryRulePullRequest
fn clone(&self) -> RepositoryRulePullRequest
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 RepositoryRulePullRequest
impl Debug for RepositoryRulePullRequest
Source§impl Default for RepositoryRulePullRequest
impl Default for RepositoryRulePullRequest
Source§fn default() -> RepositoryRulePullRequest
fn default() -> RepositoryRulePullRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRulePullRequest
impl<'de> Deserialize<'de> for RepositoryRulePullRequest
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 From<RepositoryRulePullRequest> for RepositoryRule
impl From<RepositoryRulePullRequest> for RepositoryRule
Source§fn from(value: RepositoryRulePullRequest) -> Self
fn from(value: RepositoryRulePullRequest) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for RepositoryRulePullRequest
Auto Trait Implementations§
impl Freeze for RepositoryRulePullRequest
impl RefUnwindSafe for RepositoryRulePullRequest
impl Send for RepositoryRulePullRequest
impl Sync for RepositoryRulePullRequest
impl Unpin for RepositoryRulePullRequest
impl UnwindSafe for RepositoryRulePullRequest
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