Struct controller::extensions::types::TrunkInstall
source · pub struct TrunkInstall {
pub name: String,
pub version: Option<String>,
}
Fields§
§name: String
§version: Option<String>
Trait Implementations§
source§impl Clone for TrunkInstall
impl Clone for TrunkInstall
source§fn clone(&self) -> TrunkInstall
fn clone(&self) -> TrunkInstall
Returns a copy of the value. Read more
1.0.0 · 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 TrunkInstall
impl Debug for TrunkInstall
source§impl<'de> Deserialize<'de> for TrunkInstall
impl<'de> Deserialize<'de> for TrunkInstall
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 From<TrunkInstallStatus> for TrunkInstall
impl From<TrunkInstallStatus> for TrunkInstall
source§fn from(status: TrunkInstallStatus) -> Self
fn from(status: TrunkInstallStatus) -> Self
Converts to this type from the input type.
source§impl Hash for TrunkInstall
impl Hash for TrunkInstall
source§impl JsonSchema for TrunkInstall
impl JsonSchema for TrunkInstall
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for TrunkInstall
impl PartialEq for TrunkInstall
source§fn eq(&self, other: &TrunkInstall) -> bool
fn eq(&self, other: &TrunkInstall) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TrunkInstall
impl Serialize for TrunkInstall
source§impl<'__s> ToSchema<'__s> for TrunkInstall
impl<'__s> ToSchema<'__s> for TrunkInstall
impl Eq for TrunkInstall
impl StructuralEq for TrunkInstall
impl StructuralPartialEq for TrunkInstall
Auto Trait Implementations§
impl RefUnwindSafe for TrunkInstall
impl Send for TrunkInstall
impl Sync for TrunkInstall
impl Unpin for TrunkInstall
impl UnwindSafe for TrunkInstall
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.