Struct onedrive::RemoteItem
source · pub struct RemoteItem {Show 17 fields
pub id: String,
pub created_by: IdentitySet,
pub created_date_time: String,
pub file: Option<File>,
pub file_system_info: Option<FileSystemInfo>,
pub folder: Option<Folder>,
pub last_modified_by: IdentitySet,
pub last_modified_date_time: String,
pub name: String,
pub package: Option<Package>,
pub parent_reference: ItemReference,
pub shared: Option<Shared>,
pub sharepoint_ids: SharePointIds,
pub size: i64,
pub special_folder: Option<SpecialFolder>,
pub web_dav_url: Option<String>,
pub web_url: String,
}Expand description
Struct that indicates that a DriveItem references an item that exists in another drive. This resource provides the unique IDs of the source drive and target item.
Fields§
§id: StringThe unique identifier of the drive.
created_by: IdentitySetIdentity of the user, device, or application which created the remote item.
created_date_time: StringDate and time of remote item creation (ISO 8601 UTC).
file: Option<File>File metadata, if the remote item is a file.
file_system_info: Option<FileSystemInfo>File system information on client.
folder: Option<Folder>Folder metadata, if the remote item is a folder.
last_modified_by: IdentitySetIdentity of the user, device, and application which last modified the remote item.
last_modified_date_time: StringDate and time the remote item was last modified.
name: StringThe name of the remote item.
package: Option<Package>If present, indicates that this remote item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others.
parent_reference: ItemReferenceParent information, if the remote item has a parent.
Indicates that the remote item has been shared with others and provides information about the shared state of the remote item.
Identifiers useful for SharePoint REST compatibility.
size: i64Size of the remote item in bytes.
special_folder: Option<SpecialFolder>If the current remote item is also available as a special folder, this facet is returned.
web_dav_url: Option<String>WebDAV compatible URL for the remote item.
web_url: StringURL that displays the resource in the browser.