#[non_exhaustive]pub struct GetHookRequest {
pub name: String,
/* private fields */
}Expand description
GetHookRequest is the request for getting a hook.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. Name of the hook to retrieve.
The format is
projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}.
Implementations§
Trait Implementations§
Source§impl Clone for GetHookRequest
impl Clone for GetHookRequest
Source§fn clone(&self) -> GetHookRequest
fn clone(&self) -> GetHookRequest
Returns a duplicate 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 GetHookRequest
impl Debug for GetHookRequest
Source§impl Default for GetHookRequest
impl Default for GetHookRequest
Source§fn default() -> GetHookRequest
fn default() -> GetHookRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetHookRequest
impl Message for GetHookRequest
Source§impl PartialEq for GetHookRequest
impl PartialEq for GetHookRequest
impl StructuralPartialEq for GetHookRequest
Auto Trait Implementations§
impl Freeze for GetHookRequest
impl RefUnwindSafe for GetHookRequest
impl Send for GetHookRequest
impl Sync for GetHookRequest
impl Unpin for GetHookRequest
impl UnwindSafe for GetHookRequest
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