Struct modio::types::TargetPortal
source · pub struct TargetPortal(/* private fields */);
Expand description
See the mod.io docs for more information.
Implementations§
source§impl TargetPortal
impl TargetPortal
pub const STEAM: Self = _
pub const GOG: Self = _
pub const EGS: Self = _
pub const ITCHIO: Self = _
pub const NINTENDO: Self = _
pub const PSN: Self = _
pub const XBOX_LIVE: Self = _
pub const APPLE: Self = _
pub const GOOGLE: Self = _
pub const FACEBOOK: Self = _
pub const DISCORD: Self = _
pub fn as_str(&self) -> &str
Trait Implementations§
source§impl Clone for TargetPortal
impl Clone for TargetPortal
source§fn clone(&self) -> TargetPortal
fn clone(&self) -> TargetPortal
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 TargetPortal
impl Debug for TargetPortal
source§impl Hash for TargetPortal
impl Hash for TargetPortal
source§impl PartialEq<&str> for TargetPortal
impl PartialEq<&str> for TargetPortal
source§impl PartialEq<TargetPortal> for &str
impl PartialEq<TargetPortal> for &str
source§fn eq(&self, other: &TargetPortal) -> bool
fn eq(&self, other: &TargetPortal) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<TargetPortal> for str
impl PartialEq<TargetPortal> for str
source§fn eq(&self, other: &TargetPortal) -> bool
fn eq(&self, other: &TargetPortal) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<str> for TargetPortal
impl PartialEq<str> for TargetPortal
source§impl PartialEq for TargetPortal
impl PartialEq for TargetPortal
source§fn eq(&self, other: &TargetPortal) -> bool
fn eq(&self, other: &TargetPortal) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TargetPortal
impl Eq for TargetPortal
impl StructuralPartialEq for TargetPortal
Auto Trait Implementations§
impl Freeze for TargetPortal
impl RefUnwindSafe for TargetPortal
impl Send for TargetPortal
impl Sync for TargetPortal
impl Unpin for TargetPortal
impl UnwindSafe for TargetPortal
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