pub struct TextBody {
pub text: String,
pub etag: Option<String>,
}Expand description
A body that was asked for as text, and the version it was read at.
Fields§
§text: String§etag: Option<String>The ETag header, which the policy file’s writes quote back.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextBody
impl RefUnwindSafe for TextBody
impl Send for TextBody
impl Sync for TextBody
impl Unpin for TextBody
impl UnsafeUnpin for TextBody
impl UnwindSafe for TextBody
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