pub struct RehydratedText {
pub text: String,
pub rehydrated_count: usize,
}Expand description
Result of rehydrating a response.
Fields§
§text: StringThe text with pseudo-tokens replaced back with original values.
rehydrated_count: usizeNumber of tokens that were successfully rehydrated.
Trait Implementations§
Source§impl Clone for RehydratedText
impl Clone for RehydratedText
Source§fn clone(&self) -> RehydratedText
fn clone(&self) -> RehydratedText
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 moreAuto Trait Implementations§
impl Freeze for RehydratedText
impl RefUnwindSafe for RehydratedText
impl Send for RehydratedText
impl Sync for RehydratedText
impl Unpin for RehydratedText
impl UnsafeUnpin for RehydratedText
impl UnwindSafe for RehydratedText
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