#[non_exhaustive]pub struct FetchSitemapsRequest {
pub parent: String,
pub matcher: Option<Matcher>,
/* private fields */
}Available on crate feature
site-search-engine-service only.Expand description
Request 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.parent: StringRequired. Parent resource name of the
SiteSearchEngine, such
as projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine.
matcher: Option<Matcher>Optional. If specified, fetches the matching Sitemaps. If not specified, fetches all Sitemaps in the DataStore.
Implementations§
Source§impl FetchSitemapsRequest
impl FetchSitemapsRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_matcher<T>(self, v: T) -> Self
pub fn set_matcher<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_matcher<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_matcher<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for FetchSitemapsRequest
impl Clone for FetchSitemapsRequest
Source§fn clone(&self) -> FetchSitemapsRequest
fn clone(&self) -> FetchSitemapsRequest
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 FetchSitemapsRequest
impl Debug for FetchSitemapsRequest
Source§impl Default for FetchSitemapsRequest
impl Default for FetchSitemapsRequest
Source§fn default() -> FetchSitemapsRequest
fn default() -> FetchSitemapsRequest
Returns the “default value” for a type. Read more
Source§impl Message for FetchSitemapsRequest
impl Message for FetchSitemapsRequest
Source§impl PartialEq for FetchSitemapsRequest
impl PartialEq for FetchSitemapsRequest
impl StructuralPartialEq for FetchSitemapsRequest
Auto Trait Implementations§
impl Freeze for FetchSitemapsRequest
impl RefUnwindSafe for FetchSitemapsRequest
impl Send for FetchSitemapsRequest
impl Sync for FetchSitemapsRequest
impl Unpin for FetchSitemapsRequest
impl UnwindSafe for FetchSitemapsRequest
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