pub struct ListRequest {
pub root: String,
pub recurse: bool,
pub recursion_depth: i32,
pub types: Vec<FileType>,
pub report_xattrs: bool,
}Expand description
Request to list directory contents.
Fields§
§root: StringRoot directory to list.
recurse: boolWhether to recurse into subdirectories.
recursion_depth: i32Maximum recursion depth (0 = unlimited).
types: Vec<FileType>File types to include.
report_xattrs: boolWhether to report extended attributes.
Implementations§
Trait Implementations§
Source§impl Clone for ListRequest
impl Clone for ListRequest
Source§fn clone(&self) -> ListRequest
fn clone(&self) -> ListRequest
Returns a duplicate 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 ListRequest
impl Debug for ListRequest
Source§impl Default for ListRequest
impl Default for ListRequest
Source§fn default() -> ListRequest
fn default() -> ListRequest
Returns the “default value” for a type. Read more
Source§impl From<ListRequest> for ListRequest
impl From<ListRequest> for ListRequest
Source§fn from(req: ListRequest) -> Self
fn from(req: ListRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ListRequest
impl RefUnwindSafe for ListRequest
impl Send for ListRequest
impl Sync for ListRequest
impl Unpin for ListRequest
impl UnwindSafe for ListRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request