#[non_exhaustive]pub struct RecrawlUrisResponse {
pub failure_samples: Vec<FailureInfo>,
pub failed_uris: Vec<String>,
/* private fields */
}Available on crate feature
site-search-engine-service only.Expand description
Response message for SiteSearchEngineService.RecrawlUris 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.failure_samples: Vec<FailureInfo>Details for a sample of up to 10 failed_uris.
failed_uris: Vec<String>URIs that were not crawled before the LRO terminated.
Implementations§
Source§impl RecrawlUrisResponse
impl RecrawlUrisResponse
pub fn new() -> Self
Sourcepub fn set_failure_samples<T, V>(self, v: T) -> Self
pub fn set_failure_samples<T, V>(self, v: T) -> Self
Sets the value of failure_samples.
§Example
ⓘ
use google_cloud_discoveryengine_v1::model::recrawl_uris_response::FailureInfo;
let x = RecrawlUrisResponse::new()
.set_failure_samples([
FailureInfo::default()/* use setters */,
FailureInfo::default()/* use (different) setters */,
]);Sourcepub fn set_failed_uris<T, V>(self, v: T) -> Self
pub fn set_failed_uris<T, V>(self, v: T) -> Self
Sets the value of failed_uris.
§Example
ⓘ
let x = RecrawlUrisResponse::new().set_failed_uris(["a", "b", "c"]);Trait Implementations§
Source§impl Clone for RecrawlUrisResponse
impl Clone for RecrawlUrisResponse
Source§fn clone(&self) -> RecrawlUrisResponse
fn clone(&self) -> RecrawlUrisResponse
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 RecrawlUrisResponse
impl Debug for RecrawlUrisResponse
Source§impl Default for RecrawlUrisResponse
impl Default for RecrawlUrisResponse
Source§fn default() -> RecrawlUrisResponse
fn default() -> RecrawlUrisResponse
Returns the “default value” for a type. Read more
Source§impl Message for RecrawlUrisResponse
impl Message for RecrawlUrisResponse
Source§impl PartialEq for RecrawlUrisResponse
impl PartialEq for RecrawlUrisResponse
impl StructuralPartialEq for RecrawlUrisResponse
Auto Trait Implementations§
impl Freeze for RecrawlUrisResponse
impl RefUnwindSafe for RecrawlUrisResponse
impl Send for RecrawlUrisResponse
impl Sync for RecrawlUrisResponse
impl Unpin for RecrawlUrisResponse
impl UnwindSafe for RecrawlUrisResponse
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