pub struct ResponseWrapper<T> {
pub d: T,
}Expand description
Response wrapper for Bing Webmaster API JSON responses
All JSON responses from the Bing API are wrapped in a {"d": data} structure,
following the .NET WCF JSON serialization format.
Fields§
§d: TThe wrapped response data
Trait Implementations§
Source§impl<T: Clone> Clone for ResponseWrapper<T>
impl<T: Clone> Clone for ResponseWrapper<T>
Source§fn clone(&self) -> ResponseWrapper<T>
fn clone(&self) -> ResponseWrapper<T>
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<T: Debug> Debug for ResponseWrapper<T>
impl<T: Debug> Debug for ResponseWrapper<T>
Source§impl<'de, T> Deserialize<'de> for ResponseWrapper<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ResponseWrapper<T>where
T: Deserialize<'de>,
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<T> Freeze for ResponseWrapper<T>where
T: Freeze,
impl<T> RefUnwindSafe for ResponseWrapper<T>where
T: RefUnwindSafe,
impl<T> Send for ResponseWrapper<T>where
T: Send,
impl<T> Sync for ResponseWrapper<T>where
T: Sync,
impl<T> Unpin for ResponseWrapper<T>where
T: Unpin,
impl<T> UnwindSafe for ResponseWrapper<T>where
T: UnwindSafe,
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)