pub enum Operation {
Repository(Operation),
BranchRules(Operation),
Access(AccessOperation<Permission>),
Labels(Operation),
TagProtection(Operation),
Webhooks(Operation),
DeployKeys(Operation),
ActionsVariables(Operation),
}Expand description
One write against Forgejo.
Variants§
Repository(Operation)
A write to the repository’s own settings or topics.
BranchRules(Operation)
A write to a branch rule.
Access(AccessOperation<Permission>)
A write to the repository’s team or collaborator grants.
Labels(Operation)
A write to the repository’s labels.
TagProtection(Operation)
A write to a tag protection.
Webhooks(Operation)
A write to the repository’s webhooks.
DeployKeys(Operation)
A write to the repository’s deploy keys.
ActionsVariables(Operation)
A write to the repository’s Actions variables.
Trait Implementations§
impl Eq for Operation
Source§impl From<AccessOperation<Permission>> for Operation
impl From<AccessOperation<Permission>> for Operation
Source§fn from(operation: AccessOperation<Permission>) -> Self
fn from(operation: AccessOperation<Permission>) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.