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