pub struct VersionBrief {
pub id: String,
pub version: String,
pub release_notes: String,
pub download_url: String,
pub file_size: i64,
pub platform: String,
pub channel: String,
pub force_update: bool,
pub min_compatible: String,
}Expand description
版本摘要(sdk-check-update 响应中的目标版本信息)
Fields§
§id: String§version: String§release_notes: String§download_url: String§file_size: i64§platform: String§channel: String§force_update: bool§min_compatible: StringTrait Implementations§
Source§impl Clone for VersionBrief
impl Clone for VersionBrief
Source§fn clone(&self) -> VersionBrief
fn clone(&self) -> VersionBrief
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VersionBrief
impl Debug for VersionBrief
Source§impl<'de> Deserialize<'de> for VersionBrief
impl<'de> Deserialize<'de> for VersionBrief
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 VersionBrief
impl RefUnwindSafe for VersionBrief
impl Send for VersionBrief
impl Sync for VersionBrief
impl Unpin for VersionBrief
impl UnsafeUnpin for VersionBrief
impl UnwindSafe for VersionBrief
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