Struct octorust::types::BranchProtection [−][src]
pub struct BranchProtection {}Show 13 fields
pub allow_deletions: Option<AllowDeletions>, pub allow_force_pushes: Option<AllowDeletions>, pub enabled: bool, pub enforce_admins: Option<ProtectedBranchAdminEnforced>, pub name: String, pub protection_url: String, pub required_conversation_resolution: Option<AllowDeletions>, pub required_linear_history: Option<AllowDeletions>, pub required_pull_request_reviews: Option<ProtectedBranchPullRequestReview>, pub required_signatures: Option<EnforceAdmins>, pub required_status_checks: Option<RequiredStatusChecks>, pub restrictions: Option<BranchRestrictionPolicy>, pub url: String,
Expand description
Branch Protection
Fields
allow_deletions: Option<AllowDeletions>
Branch Protection
allow_force_pushes: Option<AllowDeletions>
Branch Protection
enabled: bool
Branch Protection
enforce_admins: Option<ProtectedBranchAdminEnforced>
Branch Protection
name: String
protection_url: String
required_conversation_resolution: Option<AllowDeletions>
Branch Protection
required_linear_history: Option<AllowDeletions>
Branch Protection
required_pull_request_reviews: Option<ProtectedBranchPullRequestReview>
Branch Protection
required_signatures: Option<EnforceAdmins>
Branch Protection
required_status_checks: Option<RequiredStatusChecks>
Branch Protection
restrictions: Option<BranchRestrictionPolicy>
Branch Protection
url: String
Trait Implementations
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 RefUnwindSafe for BranchProtection
impl Send for BranchProtection
impl Sync for BranchProtection
impl Unpin for BranchProtection
impl UnwindSafe for BranchProtection
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more