Crate onedrive

source ·
Expand description

Code contained in the library is based on the oauth2-rs example for Microsoft Graph. Link to example: https://github.com/ramosbugs/oauth2-rs/blob/main/examples/msgraph.rs

Structs

  • Struct that groups audio related properties on an item.
  • An abstract resource that contains a common set of properties shared among several other resource types.
  • The request defines properties of the sharing link your application is requesting
  • Struct that indicates that the item has been deleted.
  • Represents a file, folder, or other item stored in a drive, in OneDrive.
  • Represents a collection of DriveItems.
  • Represents an error response
  • Struct that groups file-related data items.
  • Struct that contains properties that are reported by the device’s local file system for the local version of the item.
  • Struct that groups folder-related data on an item.
  • Struct that provides or sets recommendations on the user-experience of a folder.
  • Struct that provides geographic coordinates and elevation of a location based on metadata contained within the file.
  • Struct that implements TokenObtainer to get a token from Microsoft Graph
  • Struct that groups available hashes into a single structure for an item.
  • Struct that implements Httper
  • HTTP Error Struct
  • Simple HTTP Response Struct
  • Represents an identity of an actor. For example, an actor can be a user, device or application.
  • A keyed collection of Identity resources. It is used to represent a set of identities associated with various events for an item, such as created by or last modified by.
  • Struct that groups image-related properties.
  • Provides information necessary to address a DriveItem via the API.
  • Represents a collection of DriveItems.
  • Struct that indicates the presence of malware. The presence (non-null) of the resource indicates that item contains malware. A null (or missing) value indicates that the item is clean.
  • Represents an error response returned by the OneDrive API
  • Struct that provides a client that is able to perform OneDrive related operations by using the path of the DriveItem
  • OneDrive Error Struct
  • Indicates that a DriveItem is the top level item in a “package” or a collection of items that should be treated as a collection instead of individual items.
  • Struct that provides photo and camera properties, for example, EXIF metadata, on a DriveItem.
  • Struct that provides details on the published status of a DriveItem version or DriveItem resource.
  • 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.
  • Struct that indicates that an object is the top-most one in its hierarchy. The presence (non-null) of the facet value indicates that the object is the root. A null (or missing) value indicates the object is not the root.
  • Struct that indicates than an item is the response to a search query.
  • Struct that groups the various identifiers for an item stored in a SharePoint site or OneDrive for Business.
  • Represents a collection of DriveItems.
  • Struct that indicates a DriveItem has been shared with others. The resource includes information about how the item is shared.
  • Struct that groups special folder-related data items into a single structure.
  • Custom Token Struct
  • Token Error Struct
  • Struct that groups video-related data items into a single structure.

Enums

Constants

Traits

  • Trait that describes HTTP related operations that can be performed
  • Trait that describe OneDrive related operations that can be performed.
  • Trait for obtaining a token