#[repr(C)]pub struct XfsMethodResponseStruct { /* private fields */ }
Expand description
Represents an XFS method response wrapper around XfsMethodResponse.
This is an implementation detail for correct serialization.
Implementations§
Source§impl XfsMethodResponseStruct
impl XfsMethodResponseStruct
Sourcepub const fn new(response: XfsMethodResponse) -> Self
pub const fn new(response: XfsMethodResponse) -> Self
Creates a new XfsMethodResponseStruct wrapper.
Sourcepub const fn inner(&self) -> &XfsMethodResponse
pub const fn inner(&self) -> &XfsMethodResponse
Gets a reference to the XfsMethodResponseStruct inner representation.
Sourcepub fn inner_mut(&mut self) -> &mut XfsMethodResponse
pub fn inner_mut(&mut self) -> &mut XfsMethodResponse
Gets a mutable reference to the XfsMethodResponseStruct inner representation.
Sourcepub fn into_inner(self) -> XfsMethodResponse
pub fn into_inner(self) -> XfsMethodResponse
Converts the XfsMethodResponseStruct to its inner representation.
Trait Implementations§
Source§impl Clone for XfsMethodResponseStruct
impl Clone for XfsMethodResponseStruct
Source§fn clone(&self) -> XfsMethodResponseStruct
fn clone(&self) -> XfsMethodResponseStruct
Returns a duplicate of the value. Read more
1.0.0 · 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 XfsMethodResponseStruct
impl Debug for XfsMethodResponseStruct
Source§impl<'de> Deserialize<'de> for XfsMethodResponseStruct
impl<'de> Deserialize<'de> for XfsMethodResponseStruct
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 Display for XfsMethodResponseStruct
impl Display for XfsMethodResponseStruct
Source§impl From<&XfsMethodResponse> for XfsMethodResponseStruct
impl From<&XfsMethodResponse> for XfsMethodResponseStruct
Source§fn from(val: &XfsMethodResponse) -> Self
fn from(val: &XfsMethodResponse) -> Self
Converts to this type from the input type.
Source§impl From<&XfsMethodResponseStruct> for XfsMethodResponse
impl From<&XfsMethodResponseStruct> for XfsMethodResponse
Source§fn from(val: &XfsMethodResponseStruct) -> Self
fn from(val: &XfsMethodResponseStruct) -> Self
Converts to this type from the input type.
Source§impl From<XfsMethodResponse> for XfsMethodResponseStruct
impl From<XfsMethodResponse> for XfsMethodResponseStruct
Source§fn from(val: XfsMethodResponse) -> Self
fn from(val: XfsMethodResponse) -> Self
Converts to this type from the input type.
Source§impl From<XfsMethodResponseStruct> for XfsMethodResponse
impl From<XfsMethodResponseStruct> for XfsMethodResponse
Source§fn from(val: XfsMethodResponseStruct) -> Self
fn from(val: XfsMethodResponseStruct) -> Self
Converts to this type from the input type.
Source§impl PartialEq for XfsMethodResponseStruct
impl PartialEq for XfsMethodResponseStruct
Source§impl Serialize for XfsMethodResponseStruct
impl Serialize for XfsMethodResponseStruct
impl StructuralPartialEq for XfsMethodResponseStruct
Auto Trait Implementations§
impl Freeze for XfsMethodResponseStruct
impl RefUnwindSafe for XfsMethodResponseStruct
impl Send for XfsMethodResponseStruct
impl Sync for XfsMethodResponseStruct
impl Unpin for XfsMethodResponseStruct
impl UnwindSafe for XfsMethodResponseStruct
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