Struct cyfs_lib::VersionInfo
source · pub struct VersionInfo {
pub version: String,
pub channel: CyfsChannel,
pub target: String,
}
Fields
version: String
channel: CyfsChannel
target: String
Trait Implementations
sourceimpl Clone for VersionInfo
impl Clone for VersionInfo
sourcefn clone(&self) -> VersionInfo
fn clone(&self) -> VersionInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VersionInfo
impl Debug for VersionInfo
sourceimpl JsonCodec<VersionInfo> for VersionInfo
impl JsonCodec<VersionInfo> for VersionInfo
fn encode_json(&self) -> Map<String, Value>
fn decode_json(obj: &Map<String, Value>) -> BuckyResult<Self>
fn encode_string(&self) -> String
fn decode_string(value: &str) -> Result<T, BuckyError>
fn decode_value(value: &Value) -> Result<T, BuckyError>
fn encode_value(&self) -> Value
Auto Trait Implementations
impl RefUnwindSafe for VersionInfo
impl Send for VersionInfo
impl Sync for VersionInfo
impl Unpin for VersionInfo
impl UnwindSafe for VersionInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more