Struct remoteit_api::file_upload::UploadFileResponse
source · pub struct UploadFileResponse {
pub file_id: String,
pub file_version_id: String,
pub version: u32,
pub name: String,
pub executable: bool,
pub owner_id: String,
pub file_arguments: Vec<Value>,
}Expand description
The positive response from the remote.it API when uploading a file.
Fields§
§file_id: StringThe ID of the file. You can use this to reference the file in other API calls.
file_version_id: StringThe ID of the version of the file. You can use this to reference the version in other API calls.
version: u32The version of the file. When you upload a file with the same name as one that already exists, the version will be incremented.
name: StringThe name of the file.
executable: boolWhether the file is an executable script or an asset.
owner_id: StringThe User ID of the owner of the file.
file_arguments: Vec<Value>The available arguments for this file, if it is an executable script. See https://docs.remote.it/developer-tools/device-scripting#creating-scripts for more information.
Trait Implementations§
source§impl Clone for UploadFileResponse
impl Clone for UploadFileResponse
source§fn clone(&self) -> UploadFileResponse
fn clone(&self) -> UploadFileResponse
Returns a copy 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 UploadFileResponse
impl Debug for UploadFileResponse
source§impl<'de> Deserialize<'de> for UploadFileResponse
impl<'de> Deserialize<'de> for UploadFileResponse
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
Auto Trait Implementations§
impl Freeze for UploadFileResponse
impl RefUnwindSafe for UploadFileResponse
impl Send for UploadFileResponse
impl Sync for UploadFileResponse
impl Unpin for UploadFileResponse
impl UnwindSafe for UploadFileResponse
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)