#[non_exhaustive]pub struct GetSinkRequest {
pub sink_name: String,
/* private fields */
}Expand description
The parameters to GetSink.
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.sink_name: StringRequired. The resource name of the sink:
"projects/[PROJECT_ID]/sinks/[SINK_ID]"
"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
"folders/[FOLDER_ID]/sinks/[SINK_ID]"For example:
"projects/my-project/sinks/my-sink"
Implementations§
Trait Implementations§
Source§impl Clone for GetSinkRequest
impl Clone for GetSinkRequest
Source§fn clone(&self) -> GetSinkRequest
fn clone(&self) -> GetSinkRequest
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 GetSinkRequest
impl Debug for GetSinkRequest
Source§impl Default for GetSinkRequest
impl Default for GetSinkRequest
Source§fn default() -> GetSinkRequest
fn default() -> GetSinkRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetSinkRequest
impl Message for GetSinkRequest
Source§impl PartialEq for GetSinkRequest
impl PartialEq for GetSinkRequest
impl StructuralPartialEq for GetSinkRequest
Auto Trait Implementations§
impl Freeze for GetSinkRequest
impl RefUnwindSafe for GetSinkRequest
impl Send for GetSinkRequest
impl Sync for GetSinkRequest
impl Unpin for GetSinkRequest
impl UnwindSafe for GetSinkRequest
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