[−][src]Struct maud::PreEscaped
A wrapper that renders the inner value without escaping.
Implementations
impl<T: AsRef<str> + Into<String>> PreEscaped<T>
[src]
pub fn into_string(self) -> String
[src]
Converts the inner value to a string.
Trait Implementations
impl<T: Clone + AsRef<str>> Clone for PreEscaped<T>
[src]
fn clone(&self) -> PreEscaped<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy + AsRef<str>> Copy for PreEscaped<T>
[src]
impl<T: Debug + AsRef<str>> Debug for PreEscaped<T>
[src]
impl<T: AsRef<str> + Into<String>> Into<String> for PreEscaped<T>
[src]
impl Modifier<Response> for PreEscaped<String>
[src]
impl<T: AsRef<str>> Render for PreEscaped<T>
[src]
impl Responder for PreEscaped<String>
[src]
type Error = Error
The associated error which can be returned.
type Future = Ready<Result<HttpResponse, Self::Error>>
The future response value.
fn respond_to(self, _req: &HttpRequest) -> Self::Future
[src]
fn with_status(self, status: StatusCode) -> CustomResponder<Self>
fn with_header<K, V>(self, key: K, value: V) -> CustomResponder<Self> where
V: IntoHeaderValue,
HeaderName: TryFrom<K>,
<HeaderName as TryFrom<K>>::Error: Into<Error>,
V: IntoHeaderValue,
HeaderName: TryFrom<K>,
<HeaderName as TryFrom<K>>::Error: Into<Error>,
impl Responder<'static> for PreEscaped<String>
[src]
fn respond_to(self, _: &Request<'_>) -> Result<Response<'static>, Status>
[src]
impl WriteBody for PreEscaped<String>
[src]
fn write_body(&mut self, body: &mut dyn Write) -> Result<()>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for PreEscaped<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for PreEscaped<T> where
T: Send,
T: Send,
impl<T> Sync for PreEscaped<T> where
T: Sync,
T: Sync,
impl<T> Unpin for PreEscaped<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for PreEscaped<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, I> AsResult<T, I> for T where
I: Input,
I: Input,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
pub fn clone_any(&self) -> Box<dyn CloneAny + 'static>
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send> where
T: Send,
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync> where
T: Sync,
T: Sync,
pub fn clone_any_send_sync(&self) -> Box<dyn CloneAny + 'static + Sync + Send> where
T: Send + Sync,
T: Send + Sync,
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoCollection<T> for T
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
A: Array<Item = T>,
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> Render for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> UnsafeAny for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,