pub struct BlockedUrl {
pub url: String,
pub date: NaiveDate,
pub days_to_expire: Option<i32>,
pub entity_type: BlockedUrlEntityType,
pub request_type: BlockedUrlRequestType,
}Expand description
Represents a URL that has been blocked from Bing’s search index
Used to request temporary removal of content from Bing search results. This can be for a single page or an entire directory.
Fields§
§url: StringThe URL to be blocked (e.g., https://example.com/page)
date: NaiveDateThe date when the block was requested
days_to_expire: Option<i32>Number of days until the block expires (if applicable)
entity_type: BlockedUrlEntityTypeWhether this blocks a single page or entire directory
request_type: BlockedUrlRequestTypeType of removal requested (cache only or full removal)
Trait Implementations§
Source§impl Clone for BlockedUrl
impl Clone for BlockedUrl
Source§fn clone(&self) -> BlockedUrl
fn clone(&self) -> BlockedUrl
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockedUrl
impl Debug for BlockedUrl
Source§impl<'de> Deserialize<'de> for BlockedUrl
impl<'de> Deserialize<'de> for BlockedUrl
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 BlockedUrl
impl RefUnwindSafe for BlockedUrl
impl Send for BlockedUrl
impl Sync for BlockedUrl
impl Unpin for BlockedUrl
impl UnwindSafe for BlockedUrl
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)