pub struct ComponentVersion {
pub details: Option<Value>,
pub name: String,
pub version: String,
}
Fields§
§details: Option<Value>
Key/value pairs of strings with additional information about the component. These values are intended for informational purposes only, and their content is not defined, and not part of the API specification.
These messages can be printed by the client as information to the user.
name: String
Name of the component
version: String
Version of the component
Trait Implementations§
Source§impl Clone for ComponentVersion
impl Clone for ComponentVersion
Source§fn clone(&self) -> ComponentVersion
fn clone(&self) -> ComponentVersion
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ComponentVersion
impl Debug for ComponentVersion
Source§impl<'de> Deserialize<'de> for ComponentVersion
impl<'de> Deserialize<'de> for ComponentVersion
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
Source§impl PartialEq for ComponentVersion
impl PartialEq for ComponentVersion
Source§impl Serialize for ComponentVersion
impl Serialize for ComponentVersion
impl StructuralPartialEq for ComponentVersion
Auto Trait Implementations§
impl Freeze for ComponentVersion
impl RefUnwindSafe for ComponentVersion
impl Send for ComponentVersion
impl Sync for ComponentVersion
impl Unpin for ComponentVersion
impl UnwindSafe for ComponentVersion
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