pub struct MinimalActivity {
pub kind: ActivityType,
pub name: String,
pub url: Option<String>,
}
Fields§
§kind: ActivityType
§name: String
§url: Option<String>
Trait Implementations§
source§impl Clone for MinimalActivity
impl Clone for MinimalActivity
source§fn clone(&self) -> MinimalActivity
fn clone(&self) -> MinimalActivity
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 MinimalActivity
impl Debug for MinimalActivity
source§impl From<MinimalActivity> for Activity
impl From<MinimalActivity> for Activity
source§fn from(minimal_activity: MinimalActivity) -> Self
fn from(minimal_activity: MinimalActivity) -> Self
Converts to this type from the input type.
source§impl Hash for MinimalActivity
impl Hash for MinimalActivity
source§impl PartialEq for MinimalActivity
impl PartialEq for MinimalActivity
impl Eq for MinimalActivity
impl StructuralPartialEq for MinimalActivity
Auto Trait Implementations§
impl Freeze for MinimalActivity
impl RefUnwindSafe for MinimalActivity
impl Send for MinimalActivity
impl Sync for MinimalActivity
impl Unpin for MinimalActivity
impl UnwindSafe for MinimalActivity
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)