pub struct TemplateBody(/* private fields */);Implementations§
Source§impl TemplateBody
impl TemplateBody
Trait Implementations§
Source§impl AsRef<[u8]> for TemplateBody
impl AsRef<[u8]> for TemplateBody
Source§impl Clone for TemplateBody
impl Clone for TemplateBody
Source§fn clone(&self) -> TemplateBody
fn clone(&self) -> TemplateBody
Returns a duplicate 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 TemplateBody
impl Debug for TemplateBody
Source§impl From<&TemplateBody> for ByteStream
impl From<&TemplateBody> for ByteStream
Source§fn from(value: &TemplateBody) -> Self
fn from(value: &TemplateBody) -> Self
Converts to this type from the input type.
Source§impl From<&TemplateBody> for String
impl From<&TemplateBody> for String
Source§fn from(value: &TemplateBody) -> Self
fn from(value: &TemplateBody) -> Self
Converts to this type from the input type.
Source§impl From<&str> for TemplateBody
impl From<&str> for TemplateBody
Source§impl From<String> for TemplateBody
impl From<String> for TemplateBody
Source§impl From<TemplateBody> for String
impl From<TemplateBody> for String
Source§fn from(value: TemplateBody) -> Self
fn from(value: TemplateBody) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TemplateBody
impl PartialEq for TemplateBody
impl StructuralPartialEq for TemplateBody
Auto Trait Implementations§
impl Freeze for TemplateBody
impl RefUnwindSafe for TemplateBody
impl Send for TemplateBody
impl Sync for TemplateBody
impl Unpin for TemplateBody
impl UnsafeUnpin for TemplateBody
impl UnwindSafe for TemplateBody
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
Source§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type
Creates a shared type from an unshared type.
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)