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