pub struct CardProfile {
pub name: String,
pub description: String,
pub available: bool,
}
Fields§
§name: String
§description: String
§available: bool
Trait Implementations§
Source§impl Append for CardProfile
impl Append for CardProfile
Source§fn append_by_ref(&self, iter: &mut IterAppend<'_>)
fn append_by_ref(&self, iter: &mut IterAppend<'_>)
Performs the append operation by borrowing self.
Source§fn append(self, ia: &mut IterAppend<'_>)where
Self: Sized,
fn append(self, ia: &mut IterAppend<'_>)where
Self: Sized,
Performs the append operation by consuming self.
Source§impl Arg for CardProfile
impl Arg for CardProfile
Source§impl Clone for CardProfile
impl Clone for CardProfile
Source§fn clone(&self) -> CardProfile
fn clone(&self) -> CardProfile
Returns a duplicate 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 CardProfile
impl Debug for CardProfile
Source§impl Default for CardProfile
impl Default for CardProfile
Source§fn default() -> CardProfile
fn default() -> CardProfile
Returns the “default value” for a type. Read more
Source§impl From<&CardProfileInfo<'_>> for CardProfile
impl From<&CardProfileInfo<'_>> for CardProfile
Source§fn from(value: &CardProfileInfo<'_>) -> Self
fn from(value: &CardProfileInfo<'_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CardProfile
impl RefUnwindSafe for CardProfile
impl Send for CardProfile
impl Sync for CardProfile
impl Unpin for CardProfile
impl UnwindSafe for CardProfile
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