pub struct AppFileContentResponse {
pub path: String,
pub content: Option<String>,
}Fields§
§path: String§content: Option<String>Implementations§
Source§impl AppFileContentResponse
impl AppFileContentResponse
pub fn new(path: String) -> AppFileContentResponse
Trait Implementations§
Source§impl Clone for AppFileContentResponse
impl Clone for AppFileContentResponse
Source§fn clone(&self) -> AppFileContentResponse
fn clone(&self) -> AppFileContentResponse
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 AppFileContentResponse
impl Debug for AppFileContentResponse
Source§impl Default for AppFileContentResponse
impl Default for AppFileContentResponse
Source§fn default() -> AppFileContentResponse
fn default() -> AppFileContentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppFileContentResponse
impl<'de> Deserialize<'de> for AppFileContentResponse
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 PartialEq for AppFileContentResponse
impl PartialEq for AppFileContentResponse
Source§fn eq(&self, other: &AppFileContentResponse) -> bool
fn eq(&self, other: &AppFileContentResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AppFileContentResponse
impl Serialize for AppFileContentResponse
impl StructuralPartialEq for AppFileContentResponse
Auto Trait Implementations§
impl Freeze for AppFileContentResponse
impl RefUnwindSafe for AppFileContentResponse
impl Send for AppFileContentResponse
impl Sync for AppFileContentResponse
impl Unpin for AppFileContentResponse
impl UnsafeUnpin for AppFileContentResponse
impl UnwindSafe for AppFileContentResponse
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