#[non_exhaustive]pub struct ResponseOutputItem(pub ResponseItem);Tuple Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.0: ResponseItemImplementations§
Source§impl ResponseOutputItem
impl ResponseOutputItem
pub fn try_new(item: ResponseItem) -> Result<Self, &'static str>
pub fn new(item: ResponseItem) -> Self
pub fn as_inner(&self) -> &ResponseItem
pub fn into_inner(self) -> ResponseItem
Trait Implementations§
Source§impl Clone for ResponseOutputItem
impl Clone for ResponseOutputItem
Source§fn clone(&self) -> ResponseOutputItem
fn clone(&self) -> ResponseOutputItem
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 ResponseOutputItem
impl Debug for ResponseOutputItem
Source§impl<'de> Deserialize<'de> for ResponseOutputItem
impl<'de> Deserialize<'de> for ResponseOutputItem
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
Source§impl PartialEq for ResponseOutputItem
impl PartialEq for ResponseOutputItem
Source§impl Serialize for ResponseOutputItem
impl Serialize for ResponseOutputItem
impl StructuralPartialEq for ResponseOutputItem
Auto Trait Implementations§
impl Freeze for ResponseOutputItem
impl RefUnwindSafe for ResponseOutputItem
impl Send for ResponseOutputItem
impl Sync for ResponseOutputItem
impl Unpin for ResponseOutputItem
impl UnsafeUnpin for ResponseOutputItem
impl UnwindSafe for ResponseOutputItem
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