#[non_exhaustive]pub struct GetAuthorizedViewRequest {
pub name: String,
pub view: ResponseView,
/* private fields */
}Expand description
Request message for google.bigtable.admin.v2.BigtableTableAdmin.GetAuthorizedView
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 unique name of the requested AuthorizedView.
Values are of the form
projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}.
view: ResponseViewOptional. The resource_view to be applied to the returned AuthorizedView’s fields. Default to BASIC.
Implementations§
Source§impl GetAuthorizedViewRequest
impl GetAuthorizedViewRequest
pub fn new() -> Self
Sourcepub fn set_view<T: Into<ResponseView>>(self, v: T) -> Self
pub fn set_view<T: Into<ResponseView>>(self, v: T) -> Self
Sets the value of view.
§Example
ⓘ
use google_cloud_bigtable_admin_v2::model::authorized_view::ResponseView;
let x0 = GetAuthorizedViewRequest::new().set_view(ResponseView::NameOnly);
let x1 = GetAuthorizedViewRequest::new().set_view(ResponseView::Basic);
let x2 = GetAuthorizedViewRequest::new().set_view(ResponseView::Full);Trait Implementations§
Source§impl Clone for GetAuthorizedViewRequest
impl Clone for GetAuthorizedViewRequest
Source§fn clone(&self) -> GetAuthorizedViewRequest
fn clone(&self) -> GetAuthorizedViewRequest
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 GetAuthorizedViewRequest
impl Debug for GetAuthorizedViewRequest
Source§impl Default for GetAuthorizedViewRequest
impl Default for GetAuthorizedViewRequest
Source§fn default() -> GetAuthorizedViewRequest
fn default() -> GetAuthorizedViewRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetAuthorizedViewRequest
impl Message for GetAuthorizedViewRequest
Source§impl PartialEq for GetAuthorizedViewRequest
impl PartialEq for GetAuthorizedViewRequest
impl StructuralPartialEq for GetAuthorizedViewRequest
Auto Trait Implementations§
impl Freeze for GetAuthorizedViewRequest
impl RefUnwindSafe for GetAuthorizedViewRequest
impl Send for GetAuthorizedViewRequest
impl Sync for GetAuthorizedViewRequest
impl Unpin for GetAuthorizedViewRequest
impl UnwindSafe for GetAuthorizedViewRequest
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