pub struct Sitemap {
pub path: Option<String>,
pub last_submitted: Option<String>,
pub is_pending: Option<bool>,
pub is_sitemaps_index: Option<bool>,
pub sitemap_type: Option<String>,
pub last_downloaded: Option<String>,
pub warnings: Option<String>,
pub errors: Option<String>,
pub contents: Option<Vec<SitemapContent>>,
}Expand description
Sitemap information.
https://developers.google.com/webmaster-tools/v1/sitemaps#resource
Fields§
§path: Option<String>The URL of the sitemap.
last_submitted: Option<String>Date & time when this sitemap was last submitted.
is_pending: Option<bool>Whether the sitemap is pending processing.
is_sitemaps_index: Option<bool>Whether this is a sitemap index file.
sitemap_type: Option<String>The type of sitemap (e.g., “sitemap”, “rss”, “atom”, “urlList”).
last_downloaded: Option<String>Date & time when this sitemap was last downloaded.
warnings: Option<String>Number of warnings for this sitemap.
errors: Option<String>Number of errors for this sitemap.
contents: Option<Vec<SitemapContent>>Contents of the sitemap.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sitemap
impl<'de> Deserialize<'de> for Sitemap
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
Auto Trait Implementations§
impl Freeze for Sitemap
impl RefUnwindSafe for Sitemap
impl Send for Sitemap
impl Sync for Sitemap
impl Unpin for Sitemap
impl UnsafeUnpin for Sitemap
impl UnwindSafe for Sitemap
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