Struct forgejo_api::structs::RepoTestHookQuery
source · pub struct RepoTestHookQuery {
pub ref: Option<String>,
}Fields§
§ref: Option<String>The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload.
Trait Implementations§
source§impl Clone for RepoTestHookQuery
impl Clone for RepoTestHookQuery
source§fn clone(&self) -> RepoTestHookQuery
fn clone(&self) -> RepoTestHookQuery
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RepoTestHookQuery
impl Debug for RepoTestHookQuery
source§impl Default for RepoTestHookQuery
impl Default for RepoTestHookQuery
source§fn default() -> RepoTestHookQuery
fn default() -> RepoTestHookQuery
Returns the “default value” for a type. Read more
source§impl Display for RepoTestHookQuery
impl Display for RepoTestHookQuery
source§impl PartialEq for RepoTestHookQuery
impl PartialEq for RepoTestHookQuery
source§fn eq(&self, other: &RepoTestHookQuery) -> bool
fn eq(&self, other: &RepoTestHookQuery) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RepoTestHookQuery
Auto Trait Implementations§
impl Freeze for RepoTestHookQuery
impl RefUnwindSafe for RepoTestHookQuery
impl Send for RepoTestHookQuery
impl Sync for RepoTestHookQuery
impl Unpin for RepoTestHookQuery
impl UnwindSafe for RepoTestHookQuery
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