pub struct ContentResponse {
pub content: String,
pub revision: Option<String>,
}Fields§
§content: String§revision: Option<String>Trait Implementations§
Source§impl Clone for ContentResponse
impl Clone for ContentResponse
Source§fn clone(&self) -> ContentResponse
fn clone(&self) -> ContentResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContentResponse
impl Debug for ContentResponse
Source§impl<'de> Deserialize<'de> for ContentResponse
impl<'de> Deserialize<'de> for ContentResponse
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
impl Eq for ContentResponse
Source§impl PartialEq for ContentResponse
impl PartialEq for ContentResponse
Source§impl Serialize for ContentResponse
impl Serialize for ContentResponse
impl StructuralPartialEq for ContentResponse
Auto Trait Implementations§
impl Freeze for ContentResponse
impl RefUnwindSafe for ContentResponse
impl Send for ContentResponse
impl Sync for ContentResponse
impl Unpin for ContentResponse
impl UnsafeUnpin for ContentResponse
impl UnwindSafe for ContentResponse
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