Enum slack_blocks::compose::OptOrOptGroup [−][src]
Expand description
An Option or Option Group
Variants
Opt(Opt<'a, T, U>)
Option
OptGroup(OptGroup<'a, T, U>)
Option Group
Trait Implementations
impl<'a, T: Clone, U: Clone> Clone for OptOrOptGroup<'a, T, U>
[src]
impl<'a, T: Clone, U: Clone> Clone for OptOrOptGroup<'a, T, U>
[src]fn clone(&self) -> OptOrOptGroup<'a, T, U>
[src]
fn clone(&self) -> OptOrOptGroup<'a, T, U>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<'a, T: Debug, U: Debug> Debug for OptOrOptGroup<'a, T, U>
[src]
impl<'a, T: Debug, U: Debug> Debug for OptOrOptGroup<'a, T, U>
[src]impl<'de, 'a, T, U> Deserialize<'de> for OptOrOptGroup<'a, T, U> where
T: Deserialize<'de>,
U: Deserialize<'de>,
[src]
impl<'de, 'a, T, U> Deserialize<'de> for OptOrOptGroup<'a, T, U> where
T: Deserialize<'de>,
U: Deserialize<'de>,
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl<'a, T, U> From<Opt<'a, T, U>> for OptOrOptGroup<'a, T, U>
[src]
impl<'a, T, U> From<Opt<'a, T, U>> for OptOrOptGroup<'a, T, U>
[src]impl<'a, T, U> From<OptGroup<'a, T, U>> for OptOrOptGroup<'a, T, U>
[src]
impl<'a, T, U> From<OptGroup<'a, T, U>> for OptOrOptGroup<'a, T, U>
[src]impl<'a, T: Hash, U: Hash> Hash for OptOrOptGroup<'a, T, U>
[src]
impl<'a, T: Hash, U: Hash> Hash for OptOrOptGroup<'a, T, U>
[src]impl<'a, T: PartialEq, U: PartialEq> PartialEq<OptOrOptGroup<'a, T, U>> for OptOrOptGroup<'a, T, U>
[src]
impl<'a, T: PartialEq, U: PartialEq> PartialEq<OptOrOptGroup<'a, T, U>> for OptOrOptGroup<'a, T, U>
[src]fn eq(&self, other: &OptOrOptGroup<'a, T, U>) -> bool
[src]
fn eq(&self, other: &OptOrOptGroup<'a, T, U>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &OptOrOptGroup<'a, T, U>) -> bool
[src]
fn ne(&self, other: &OptOrOptGroup<'a, T, U>) -> bool
[src]This method tests for !=
.
impl<'a, T, U> Serialize for OptOrOptGroup<'a, T, U> where
T: Serialize,
U: Serialize,
[src]
impl<'a, T, U> Serialize for OptOrOptGroup<'a, T, U> where
T: Serialize,
U: Serialize,
[src]impl<'a, T, U> StructuralPartialEq for OptOrOptGroup<'a, T, U>
[src]
Auto Trait Implementations
impl<'a, T, U> RefUnwindSafe for OptOrOptGroup<'a, T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<'a, T, U> Send for OptOrOptGroup<'a, T, U> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<'a, T, U> Sync for OptOrOptGroup<'a, T, U> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
impl<'a, T, U> Unpin for OptOrOptGroup<'a, T, U> where
T: Unpin,
U: Unpin,
T: Unpin,
U: Unpin,
impl<'a, T, U> UnwindSafe for OptOrOptGroup<'a, T, U> where
T: UnwindSafe,
U: UnwindSafe,
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,