pub struct BugView {Show 13 fields
pub id: String,
pub description: String,
pub platform: Option<String>,
pub terminal: Option<String>,
pub version: Option<String>,
pub message_count: i64,
pub has_errors: bool,
pub status: String,
pub client_datetime: Option<String>,
pub created_at: String,
pub errors: Option<Vec<Value>>,
pub transcript: Option<Vec<Value>>,
pub extras: Option<HashMap<String, Value>>,
}Expand description
GET /api/v4/crabcode/bug/:id 返回体(公开 ViewModel)。对应 TS BugView。
errors / transcript / extras 用 Vec<Value> / HashMap<String, Value>:客户端 reportData
schema 会随版本变,SDK 不强 typed。
Fields§
§id: String§description: String§platform: Option<String>§terminal: Option<String>§version: Option<String>§message_count: i64§has_errors: bool§status: String§client_datetime: Option<String>§created_at: String§errors: Option<Vec<Value>>§transcript: Option<Vec<Value>>§extras: Option<HashMap<String, Value>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for BugView
impl<'de> Deserialize<'de> for BugView
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 BugView
impl RefUnwindSafe for BugView
impl Send for BugView
impl Sync for BugView
impl Unpin for BugView
impl UnsafeUnpin for BugView
impl UnwindSafe for BugView
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