Struct google_acceleratedmobilepageurl1::api::AmpUrl
source · pub struct AmpUrl {
pub amp_url: Option<String>,
pub cdn_amp_url: Option<String>,
pub original_url: Option<String>,
}
Expand description
AMP URL response for a requested URL.
§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 (none)
Fields§
§amp_url: Option<String>
The AMP URL pointing to the publisher’s web server.
cdn_amp_url: Option<String>
The AMP Cache URL pointing to the cached document in the Google AMP Cache.
original_url: Option<String>
The original non-AMP URL.
Trait Implementations§
source§impl<'de> Deserialize<'de> for AmpUrl
impl<'de> Deserialize<'de> for AmpUrl
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
impl Resource for AmpUrl
Auto Trait Implementations§
impl RefUnwindSafe for AmpUrl
impl Send for AmpUrl
impl Sync for AmpUrl
impl Unpin for AmpUrl
impl UnwindSafe for AmpUrl
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