pub struct BatchGetAmpUrlsResponse {
pub amp_urls: Option<Vec<AmpUrl>>,
pub url_errors: Option<Vec<AmpUrlError>>,
}
Expand description
Batch AMP URL response.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- batch get amp urls (response)
Fields§
§amp_urls: Option<Vec<AmpUrl>>
For each URL in BatchAmpUrlsRequest, the URL response. The response might not be in the same order as URLs in the batch request. If BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated only once.
url_errors: Option<Vec<AmpUrlError>>
The errors for requested URLs that have no AMP URL.
Trait Implementations§
source§impl Clone for BatchGetAmpUrlsResponse
impl Clone for BatchGetAmpUrlsResponse
source§fn clone(&self) -> BatchGetAmpUrlsResponse
fn clone(&self) -> BatchGetAmpUrlsResponse
Returns a copy 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 BatchGetAmpUrlsResponse
impl Debug for BatchGetAmpUrlsResponse
source§impl Default for BatchGetAmpUrlsResponse
impl Default for BatchGetAmpUrlsResponse
source§fn default() -> BatchGetAmpUrlsResponse
fn default() -> BatchGetAmpUrlsResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BatchGetAmpUrlsResponse
impl<'de> Deserialize<'de> for BatchGetAmpUrlsResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for BatchGetAmpUrlsResponse
impl Serialize for BatchGetAmpUrlsResponse
impl ResponseResult for BatchGetAmpUrlsResponse
Auto Trait Implementations§
impl RefUnwindSafe for BatchGetAmpUrlsResponse
impl Send for BatchGetAmpUrlsResponse
impl Sync for BatchGetAmpUrlsResponse
impl Unpin for BatchGetAmpUrlsResponse
impl UnwindSafe for BatchGetAmpUrlsResponse
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