pub struct RobotsMeta {
pub index: bool,
pub follow: bool,
pub archive: bool,
pub cache: bool,
pub snippet: bool,
pub max_snippet: i32,
pub max_image_preview: Option<String>,
pub max_video_preview: i32,
pub raw: Option<String>,
}Fields§
§index: bool§follow: bool§archive: bool§cache: bool§snippet: bool§max_snippet: i32§max_image_preview: Option<String>§max_video_preview: i32§raw: Option<String>Implementations§
Source§impl RobotsMeta
impl RobotsMeta
pub fn allowed() -> Self
pub fn noindex_nofollow() -> Self
Trait Implementations§
Source§impl Clone for RobotsMeta
impl Clone for RobotsMeta
Source§fn clone(&self) -> RobotsMeta
fn clone(&self) -> RobotsMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RobotsMeta
impl Debug for RobotsMeta
Source§impl Default for RobotsMeta
impl Default for RobotsMeta
Source§fn default() -> RobotsMeta
fn default() -> RobotsMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RobotsMeta
impl<'de> Deserialize<'de> for RobotsMeta
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 RobotsMeta
impl RefUnwindSafe for RobotsMeta
impl Send for RobotsMeta
impl Sync for RobotsMeta
impl Unpin for RobotsMeta
impl UnsafeUnpin for RobotsMeta
impl UnwindSafe for RobotsMeta
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