Files
gitea-rs/crates/gitea-client/docs/Branch.md
2026-03-20 16:24:40 +01:00

1.3 KiB

Branch

Properties

Name Type Description Notes
commit Option<models::PayloadCommit> [optional]
effective_branch_protection_name Option<String> EffectiveBranchProtectionName is the name of the effective branch protection rule [optional]
enable_status_check Option<bool> EnableStatusCheck indicates if status checks are enabled [optional]
name Option<String> Name is the branch name [optional]
protected Option<bool> Protected indicates if the branch is protected [optional]
required_approvals Option<i64> RequiredApprovals is the number of required approvals for pull requests [optional]
status_check_contexts Option<Vec> StatusCheckContexts contains the list of required status check contexts [optional]
user_can_merge Option<bool> UserCanMerge indicates if the current user can merge to this branch [optional]
user_can_push Option<bool> UserCanPush indicates if the current user can push to this branch [optional]

[Back to Model list] [Back to API list] [Back to README]