pub struct Base64(pub String);
Tuple Fields§
§0: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Base64
impl<'de> Deserialize<'de> for Base64
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
Source§impl IsScalar<Base64> for Base64
impl IsScalar<Base64> for Base64
Source§type SchemaType = Base64
type SchemaType = Base64
The schema marker type this scalar represents.
impl CoercesTo<Base64> for Base64
impl CoercesTo<Option<Base64>> for Base64
impl CoercesTo<Option<Option<Base64>>> for Base64
impl CoercesTo<Option<Vec<Base64>>> for Base64
impl CoercesTo<Option<Vec<Option<Base64>>>> for Base64
impl CoercesTo<Vec<Base64>> for Base64
impl CoercesTo<Vec<Vec<Base64>>> for Base64
Auto Trait Implementations§
impl Freeze for Base64
impl RefUnwindSafe for Base64
impl Send for Base64
impl Sync for Base64
impl Unpin for Base64
impl UnwindSafe for Base64
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moreSource§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