pub struct RequestActions {
pub merge: bool,
pub rebase: bool,
pub close: bool,
pub ready: bool,
}Expand description
What the host of a kind lets a request do.
Fields§
§merge: bool§rebase: boolRebase and merge (GitLab has no such call: its rebase is a separate, asynchronous one).
close: bool§ready: boolTake a draft out of draft (GitHub, GitLab, Gitea, Forgejo).
Implementations§
Source§impl RequestActions
impl RequestActions
pub fn takes(&self, method: MergeMethod) -> bool
Trait Implementations§
Source§impl Clone for RequestActions
impl Clone for RequestActions
impl Copy for RequestActions
Source§impl Debug for RequestActions
impl Debug for RequestActions
Source§impl Default for RequestActions
impl Default for RequestActions
impl Eq for RequestActions
Source§impl PartialEq for RequestActions
impl PartialEq for RequestActions
impl StructuralPartialEq for RequestActions
Auto Trait Implementations§
impl Forget for RequestActions
impl Freeze for RequestActions
impl Move for RequestActions
impl RefUnwindSafe for RequestActions
impl Send for RequestActions
impl Sync for RequestActions
impl Unpin for RequestActions
impl UnsafeUnpin for RequestActions
impl UnwindSafe for RequestActions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.