pub fn download(file: &RemoteFile, secret: bool) -> Url {
        // Get the share URL, and update the secret fragment
        let mut url = file.url().clone();
        if secret && file.has_secret() {
            url.set_fragment(Some(&file.secret()));
        } else {
            url.set_fragment(None);
        }

        url
    }
/// Get the download URL of the given file.
/// This URL is identical to the share URL, a term used in this API.
/// Set `secret` to `true`, to include it in the URL if known.
Get the download URL of the given file.
This URL is identical to the share URL, a term used in this API.
Set `secret` to `true`, to include it in the URL if known.
Get the download URL of the given file . This URL is identical to the share URL a term used in this API . Set ` secret ` to ` true ` to include it in the URL if known .
pub fn download(file: &RemoteFile, secret: bool) -> Url {
        // Get the share URL, and update the secret fragment
        let mut url = file.url().clone();
        if secret && file.has_secret() {
            url.set_fragment(Some(&file.secret()));
        } else {
            url.set_fragment(None);
        }
        url
    }
pub fn download ( file : & RemoteFile , secret : bool ) -> Url { // Get the share URL, and update the secret fragment let mut url = file . url ( ) . clone ( ) ; if secret && file . has_secret ( ) { url . set_fragment ( Some ( & file . secret ( ) ) ) ; } else { url . set_fragment ( None ) ; } url }
Get the download URL of the given file.
Get the download URL of the given file .
file
&RemoteFile
secret
bool
file
&RemoteFile
secret
bool