#[non_exhaustive]pub struct FetchSitemapsResponse {
pub sitemaps_metadata: Vec<SitemapMetadata>,
/* private fields */
}Available on crate feature
site-search-engine-service only.Expand description
Response message for SiteSearchEngineService.FetchSitemaps 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.sitemaps_metadata: Vec<SitemapMetadata>List of Sitemaps fetched.
Implementations§
Source§impl FetchSitemapsResponse
impl FetchSitemapsResponse
pub fn new() -> Self
Sourcepub fn set_sitemaps_metadata<T, V>(self, v: T) -> Self
pub fn set_sitemaps_metadata<T, V>(self, v: T) -> Self
Sets the value of sitemaps_metadata.
§Example
ⓘ
use google_cloud_discoveryengine_v1::model::fetch_sitemaps_response::SitemapMetadata;
let x = FetchSitemapsResponse::new()
.set_sitemaps_metadata([
SitemapMetadata::default()/* use setters */,
SitemapMetadata::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for FetchSitemapsResponse
impl Clone for FetchSitemapsResponse
Source§fn clone(&self) -> FetchSitemapsResponse
fn clone(&self) -> FetchSitemapsResponse
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 FetchSitemapsResponse
impl Debug for FetchSitemapsResponse
Source§impl Default for FetchSitemapsResponse
impl Default for FetchSitemapsResponse
Source§fn default() -> FetchSitemapsResponse
fn default() -> FetchSitemapsResponse
Returns the “default value” for a type. Read more
Source§impl Message for FetchSitemapsResponse
impl Message for FetchSitemapsResponse
Source§impl PartialEq for FetchSitemapsResponse
impl PartialEq for FetchSitemapsResponse
impl StructuralPartialEq for FetchSitemapsResponse
Auto Trait Implementations§
impl Freeze for FetchSitemapsResponse
impl RefUnwindSafe for FetchSitemapsResponse
impl Send for FetchSitemapsResponse
impl Sync for FetchSitemapsResponse
impl Unpin for FetchSitemapsResponse
impl UnwindSafe for FetchSitemapsResponse
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