Enum rocket_api_base::BaseContent [−][src]
pub enum BaseContent<T> {
Some(T),
None,
}Variants
Trait Implementations
impl<T> Serialize for BaseContent<T> where
T: Serialize, [src]
impl<T> Serialize for BaseContent<T> where
T: Serialize, [src]fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer, [src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer, [src]Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for BaseContent<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for BaseContent<T> where
T: Send,
T: Send,
impl<T> Sync for BaseContent<T> where
T: Sync,
T: Sync,
impl<T> Unpin for BaseContent<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for BaseContent<T> where
T: UnwindSafe,
T: 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> IntoCollection<T> for T
impl<T> IntoCollection<T> for Tpub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>, Converts self into a collection.
pub fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
A: Array<Item = U>,
F: FnMut(T) -> U,
A: Array<Item = U>,
F: FnMut(T) -> U,
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,