pub struct ListWorkspaceFilesResponse {
pub workspace_id: String,
pub path: String,
pub directories: Vec<String>,
pub files: Vec<ListWorkspaceFilesResponseFile>,
}Expand description
The listing was documented as a description and nothing else, so a client could not learn
from the document that etag and updated_at are served here — the two fields a caller
needs to tell whether a file changed without downloading it, and the reason a console had to
diff whole workspaces. The projection is explicit in the handler: a field added to the
stored record does NOT appear here on its own.
Fields§
§workspace_id: String§path: StringThe directory listed, empty string for the workspace root.
directories: Vec<String>§files: Vec<ListWorkspaceFilesResponseFile>Trait Implementations§
Source§impl Clone for ListWorkspaceFilesResponse
impl Clone for ListWorkspaceFilesResponse
Source§fn clone(&self) -> ListWorkspaceFilesResponse
fn clone(&self) -> ListWorkspaceFilesResponse
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 ListWorkspaceFilesResponse
impl Debug for ListWorkspaceFilesResponse
Source§impl Default for ListWorkspaceFilesResponse
impl Default for ListWorkspaceFilesResponse
Source§fn default() -> ListWorkspaceFilesResponse
fn default() -> ListWorkspaceFilesResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListWorkspaceFilesResponse
impl<'de> Deserialize<'de> for ListWorkspaceFilesResponse
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 StructuralPartialEq for ListWorkspaceFilesResponse
Auto Trait Implementations§
impl Freeze for ListWorkspaceFilesResponse
impl RefUnwindSafe for ListWorkspaceFilesResponse
impl Send for ListWorkspaceFilesResponse
impl Sync for ListWorkspaceFilesResponse
impl Unpin for ListWorkspaceFilesResponse
impl UnsafeUnpin for ListWorkspaceFilesResponse
impl UnwindSafe for ListWorkspaceFilesResponse
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