pub struct Live {
pub repository: Repository,
pub topics: Vec<String>,
pub branch_rules: Vec<BranchProtection>,
pub access: AccessState<Permission>,
pub labels: Vec<Label>,
pub tag_protections: Vec<TagProtection>,
pub webhooks: Vec<Hook>,
pub deploy_keys: Vec<DeployKey>,
pub actions_variables: Vec<ActionVariable>,
}Expand description
The Forgejo state that planning compares with the configuration.
Fields§
§repository: RepositoryThe repository as Forgejo reports it. Absent properties stay absent.
topics: Vec<String>The repository’s topics.
branch_rules: Vec<BranchProtection>The branch rules in the order Forgejo consults them.
access: AccessState<Permission>The team and collaborator grants. Empty unless access is managed.
labels: Vec<Label>The repository’s labels. Empty unless labels are managed.
tag_protections: Vec<TagProtection>The repository’s tag protections. Empty unless tag protection is managed.
webhooks: Vec<Hook>The repository’s webhooks. Empty unless webhooks are managed.
deploy_keys: Vec<DeployKey>The repository’s deploy keys. Empty unless deploy keys are managed.
actions_variables: Vec<ActionVariable>The repository’s Actions variables. Empty unless they are managed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Live
impl RefUnwindSafe for Live
impl Send for Live
impl Sync for Live
impl Unpin for Live
impl UnsafeUnpin for Live
impl UnwindSafe for Live
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