Skip to main content
pub struct ShowDirectoriesResponse 
    pub directories: Vec<String>,
    pub users: Vec<String>,
    pub creation_times: Vec<i64>,
    pub data_usages: Vec<i64>,
    pub data_limits: Vec<i64>,
    pub permissions: Vec<String>,
    pub info: HashMap<String, String>,

The response from the /show/directories endpoint.

Fields

directories: Vec<String>

KiFS directory names.

users: Vec<String>

User that created each directory for the respective directories in directories.

creation_times: Vec<i64>

The creation time for each directory in milliseconds since epoch, for the respective directories in directories.

data_usages: Vec<i64>

The data usage each directory in bytes, for the respective directories in directories.

data_limits: Vec<i64>

The data limit for each directory in bytes, for the respective directories in directories.

permissions: Vec<String>

Highest level of permission the calling user has for the respective directories in directories. Will be empty if no permissions. If a user has been granted both read and write permissions, ‘directory_write’ will be listed.

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

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