pub struct DonationPlatform {
pub short: String,
pub name: String,
}Fields§
§short: StringA short identifier for the donation platform
name: StringThe display name of the platform
Trait Implementations§
Source§impl Clone for DonationPlatform
impl Clone for DonationPlatform
Source§fn clone(&self) -> DonationPlatform
fn clone(&self) -> DonationPlatform
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DonationPlatform
impl Debug for DonationPlatform
Source§impl<'de> Deserialize<'de> for DonationPlatform
impl<'de> Deserialize<'de> for DonationPlatform
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
Auto Trait Implementations§
impl Freeze for DonationPlatform
impl RefUnwindSafe for DonationPlatform
impl Send for DonationPlatform
impl Sync for DonationPlatform
impl Unpin for DonationPlatform
impl UnsafeUnpin for DonationPlatform
impl UnwindSafe for DonationPlatform
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