pub struct SummonerSpell {
pub display_name: String,
pub raw_description: String,
pub raw_display_name: String,
}
Fields§
§display_name: String
§raw_description: String
§raw_display_name: String
Implementations§
Source§impl SummonerSpell
impl SummonerSpell
pub fn display_name(&self) -> &str
pub fn raw_description(&self) -> &str
pub fn raw_display_name(&self) -> &str
Trait Implementations§
Source§impl Clone for SummonerSpell
impl Clone for SummonerSpell
Source§fn clone(&self) -> SummonerSpell
fn clone(&self) -> SummonerSpell
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 SummonerSpell
impl Debug for SummonerSpell
Source§impl Default for SummonerSpell
impl Default for SummonerSpell
Source§fn default() -> SummonerSpell
fn default() -> SummonerSpell
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SummonerSpell
impl<'de> Deserialize<'de> for SummonerSpell
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 SummonerSpell
impl PartialEq for SummonerSpell
Source§impl Serialize for SummonerSpell
impl Serialize for SummonerSpell
impl StructuralPartialEq for SummonerSpell
Auto Trait Implementations§
impl Freeze for SummonerSpell
impl RefUnwindSafe for SummonerSpell
impl Send for SummonerSpell
impl Sync for SummonerSpell
impl Unpin for SummonerSpell
impl UnwindSafe for SummonerSpell
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