#[non_exhaustive]pub struct GetRuleRequest {
pub name: String,
pub view: RuleView,
/* private fields */
}Expand description
Request message for GetRule 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.name: StringRequired. The name of the rule to retrieve.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}
view: RuleViewThe view field indicates the scope of fields to populate for the Rule being returned. If unspecified, defaults to FULL.
Implementations§
Trait Implementations§
Source§impl Clone for GetRuleRequest
impl Clone for GetRuleRequest
Source§fn clone(&self) -> GetRuleRequest
fn clone(&self) -> GetRuleRequest
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 GetRuleRequest
impl Debug for GetRuleRequest
Source§impl Default for GetRuleRequest
impl Default for GetRuleRequest
Source§fn default() -> GetRuleRequest
fn default() -> GetRuleRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetRuleRequest
impl Message for GetRuleRequest
Source§impl PartialEq for GetRuleRequest
impl PartialEq for GetRuleRequest
Source§fn eq(&self, other: &GetRuleRequest) -> bool
fn eq(&self, other: &GetRuleRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetRuleRequest
Auto Trait Implementations§
impl Freeze for GetRuleRequest
impl RefUnwindSafe for GetRuleRequest
impl Send for GetRuleRequest
impl Sync for GetRuleRequest
impl Unpin for GetRuleRequest
impl UnsafeUnpin for GetRuleRequest
impl UnwindSafe for GetRuleRequest
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