#[non_exhaustive]pub struct CreateRetrohuntRequest {
pub parent: String,
pub retrohunt: Option<Retrohunt>,
/* private fields */
}Expand description
Request message for CreateRetrohunt method.
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.parent: StringRequired. The parent of retrohunt, which is a rule.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}
retrohunt: Option<Retrohunt>Required. The retrohunt to create.
Implementations§
Source§impl CreateRetrohuntRequest
impl CreateRetrohuntRequest
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_retrohunt<T>(self, v: T) -> Self
pub fn set_retrohunt<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_retrohunt<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_retrohunt<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for CreateRetrohuntRequest
impl Clone for CreateRetrohuntRequest
Source§fn clone(&self) -> CreateRetrohuntRequest
fn clone(&self) -> CreateRetrohuntRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateRetrohuntRequest
impl Debug for CreateRetrohuntRequest
Source§impl Default for CreateRetrohuntRequest
impl Default for CreateRetrohuntRequest
Source§fn default() -> CreateRetrohuntRequest
fn default() -> CreateRetrohuntRequest
Returns the “default value” for a type. Read more
Source§impl Message for CreateRetrohuntRequest
impl Message for CreateRetrohuntRequest
Source§impl PartialEq for CreateRetrohuntRequest
impl PartialEq for CreateRetrohuntRequest
Source§fn eq(&self, other: &CreateRetrohuntRequest) -> bool
fn eq(&self, other: &CreateRetrohuntRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateRetrohuntRequest
Auto Trait Implementations§
impl Freeze for CreateRetrohuntRequest
impl RefUnwindSafe for CreateRetrohuntRequest
impl Send for CreateRetrohuntRequest
impl Sync for CreateRetrohuntRequest
impl Unpin for CreateRetrohuntRequest
impl UnsafeUnpin for CreateRetrohuntRequest
impl UnwindSafe for CreateRetrohuntRequest
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