#[non_exhaustive]pub struct RefreshSubscriptionRequest {
pub name: String,
/* private fields */
}Expand description
Message for refreshing a subscription.
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. Resource name of the Subscription to refresh.
e.g. projects/subscriberproject/locations/us/subscriptions/123
Implementations§
Trait Implementations§
Source§impl Clone for RefreshSubscriptionRequest
impl Clone for RefreshSubscriptionRequest
Source§fn clone(&self) -> RefreshSubscriptionRequest
fn clone(&self) -> RefreshSubscriptionRequest
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 RefreshSubscriptionRequest
impl Debug for RefreshSubscriptionRequest
Source§impl Default for RefreshSubscriptionRequest
impl Default for RefreshSubscriptionRequest
Source§fn default() -> RefreshSubscriptionRequest
fn default() -> RefreshSubscriptionRequest
Returns the “default value” for a type. Read more
Source§impl Message for RefreshSubscriptionRequest
impl Message for RefreshSubscriptionRequest
impl StructuralPartialEq for RefreshSubscriptionRequest
Auto Trait Implementations§
impl Freeze for RefreshSubscriptionRequest
impl RefUnwindSafe for RefreshSubscriptionRequest
impl Send for RefreshSubscriptionRequest
impl Sync for RefreshSubscriptionRequest
impl Unpin for RefreshSubscriptionRequest
impl UnwindSafe for RefreshSubscriptionRequest
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