pub struct BarkResponse {
pub code: i32,
pub message: String,
pub timestamp: Option<i64>,
}Expand description
Bark API 响应结构
包含了 Bark 服务器返回的响应信息
Fields§
§code: i32响应状态码,200 表示成功
message: String响应消息内容
timestamp: Option<i64>可选的时间戳
Trait Implementations§
Source§impl Debug for BarkResponse
impl Debug for BarkResponse
Source§impl<'de> Deserialize<'de> for BarkResponse
impl<'de> Deserialize<'de> for BarkResponse
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 BarkResponse
impl RefUnwindSafe for BarkResponse
impl Send for BarkResponse
impl Sync for BarkResponse
impl Unpin for BarkResponse
impl UnsafeUnpin for BarkResponse
impl UnwindSafe for BarkResponse
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