Skip to main content
pub struct ShowFilesResponse 
    pub file_names: Vec<String>,
    pub sizes: Vec<i64>,
    pub users: Vec<String>,
    pub creation_times: Vec<i64>,
    pub info: HashMap<String, String>,

The response from the /show/files endpoint.

Fields

file_names: Vec<String>

A listing of files in the paths specified.

sizes: Vec<i64>

Size of each file, in bytes.

users: Vec<String>

User that created the file.

creation_times: Vec<i64>

Creation time for each file, in milliseconds since epoch.

info: HashMap<String, String>

Additional information.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Source

impl<‘de> Deserialize<‘de> for ShowFilesResponse

Source

fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,

Deserialize this value from the given Serde deserializer. Read more
Source

fn serialize<__S>(&self, __serializer: __S) ->Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more