Struct github_rest::methods::FileContents
source · pub struct FileContents {
pub content: String,
}
Fields§
§content: String
Trait Implementations§
source§impl Clone for FileContents
impl Clone for FileContents
source§fn clone(&self) -> FileContents
fn clone(&self) -> FileContents
Returns a copy 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 FileContents
impl Debug for FileContents
source§impl Default for FileContents
impl Default for FileContents
source§fn default() -> FileContents
fn default() -> FileContents
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FileContents
impl<'de> Deserialize<'de> for FileContents
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
source§impl<T: Display> From<T> for FileContents
impl<T: Display> From<T> for FileContents
Auto Trait Implementations§
impl RefUnwindSafe for FileContents
impl Send for FileContents
impl Sync for FileContents
impl Unpin for FileContents
impl UnwindSafe for FileContents
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