#[non_exhaustive]pub struct ModifyEntryOverviewRequest {
pub name: String,
pub entry_overview: Option<EntryOverview>,
/* private fields */
}Expand description
Request message for ModifyEntryOverview.
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 full resource name of the entry.
entry_overview: Option<EntryOverview>Required. The new value for the Entry Overview.
Implementations§
Source§impl ModifyEntryOverviewRequest
impl ModifyEntryOverviewRequest
pub fn new() -> Self
Sourcepub fn set_entry_overview<T>(self, v: T) -> Selfwhere
T: Into<EntryOverview>,
pub fn set_entry_overview<T>(self, v: T) -> Selfwhere
T: Into<EntryOverview>,
Sets the value of entry_overview.
§Example
ⓘ
use google_cloud_datacatalog_v1::model::EntryOverview;
let x = ModifyEntryOverviewRequest::new().set_entry_overview(EntryOverview::default()/* use setters */);Sourcepub fn set_or_clear_entry_overview<T>(self, v: Option<T>) -> Selfwhere
T: Into<EntryOverview>,
pub fn set_or_clear_entry_overview<T>(self, v: Option<T>) -> Selfwhere
T: Into<EntryOverview>,
Sets or clears the value of entry_overview.
§Example
ⓘ
use google_cloud_datacatalog_v1::model::EntryOverview;
let x = ModifyEntryOverviewRequest::new().set_or_clear_entry_overview(Some(EntryOverview::default()/* use setters */));
let x = ModifyEntryOverviewRequest::new().set_or_clear_entry_overview(None::<EntryOverview>);Trait Implementations§
Source§impl Clone for ModifyEntryOverviewRequest
impl Clone for ModifyEntryOverviewRequest
Source§fn clone(&self) -> ModifyEntryOverviewRequest
fn clone(&self) -> ModifyEntryOverviewRequest
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 ModifyEntryOverviewRequest
impl Debug for ModifyEntryOverviewRequest
Source§impl Default for ModifyEntryOverviewRequest
impl Default for ModifyEntryOverviewRequest
Source§fn default() -> ModifyEntryOverviewRequest
fn default() -> ModifyEntryOverviewRequest
Returns the “default value” for a type. Read more
Source§impl Message for ModifyEntryOverviewRequest
impl Message for ModifyEntryOverviewRequest
impl StructuralPartialEq for ModifyEntryOverviewRequest
Auto Trait Implementations§
impl Freeze for ModifyEntryOverviewRequest
impl RefUnwindSafe for ModifyEntryOverviewRequest
impl Send for ModifyEntryOverviewRequest
impl Sync for ModifyEntryOverviewRequest
impl Unpin for ModifyEntryOverviewRequest
impl UnsafeUnpin for ModifyEntryOverviewRequest
impl UnwindSafe for ModifyEntryOverviewRequest
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