Struct golem_cli::model::ExampleDescription
source · pub struct ExampleDescription {
pub name: ExampleName,
pub language: GuestLanguage,
pub description: String,
pub tier: GuestLanguageTier,
}
Fields§
§name: ExampleName
§language: GuestLanguage
§description: String
§tier: GuestLanguageTier
Implementations§
source§impl ExampleDescription
impl ExampleDescription
pub fn from_example(example: &Example) -> Self
Trait Implementations§
source§impl Clone for ExampleDescription
impl Clone for ExampleDescription
source§fn clone(&self) -> ExampleDescription
fn clone(&self) -> ExampleDescription
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 ExampleDescription
impl Debug for ExampleDescription
source§impl PartialEq for ExampleDescription
impl PartialEq for ExampleDescription
source§fn eq(&self, other: &ExampleDescription) -> bool
fn eq(&self, other: &ExampleDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExampleDescription
impl Serialize for ExampleDescription
impl Eq for ExampleDescription
impl StructuralPartialEq for ExampleDescription
Auto Trait Implementations§
impl RefUnwindSafe for ExampleDescription
impl Send for ExampleDescription
impl Sync for ExampleDescription
impl Unpin for ExampleDescription
impl UnwindSafe for ExampleDescription
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 Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.