pub struct GithubComSatstreamSsApiServerApiTransactionsResponsesError { /* private fields */ }
Implementations§
Source§impl GithubComSatstreamSsApiServerApiTransactionsResponsesError
impl GithubComSatstreamSsApiServerApiTransactionsResponsesError
pub fn new() -> GithubComSatstreamSsApiServerApiTransactionsResponsesError
pub fn set_code(&mut self, code: i32)
pub fn with_code( self, code: i32, ) -> GithubComSatstreamSsApiServerApiTransactionsResponsesError
pub fn code(&self) -> Option<&i32>
pub fn reset_code(&mut self)
pub fn set_data(&mut self, data: Value)
pub fn with_data( self, data: Value, ) -> GithubComSatstreamSsApiServerApiTransactionsResponsesError
pub fn data(&self) -> Option<&Value>
pub fn reset_data(&mut self)
pub fn set_msg(&mut self, msg: String)
pub fn with_msg( self, msg: String, ) -> GithubComSatstreamSsApiServerApiTransactionsResponsesError
pub fn msg(&self) -> Option<&String>
pub fn reset_msg(&mut self)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GithubComSatstreamSsApiServerApiTransactionsResponsesError
impl<'de> Deserialize<'de> for GithubComSatstreamSsApiServerApiTransactionsResponsesError
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 GithubComSatstreamSsApiServerApiTransactionsResponsesError
impl RefUnwindSafe for GithubComSatstreamSsApiServerApiTransactionsResponsesError
impl Send for GithubComSatstreamSsApiServerApiTransactionsResponsesError
impl Sync for GithubComSatstreamSsApiServerApiTransactionsResponsesError
impl Unpin for GithubComSatstreamSsApiServerApiTransactionsResponsesError
impl UnwindSafe for GithubComSatstreamSsApiServerApiTransactionsResponsesError
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