Module files

Source
Available on crate feature dbx_files only.
Expand description

This namespace contains endpoints and data types for basic file operations.

Structs§

AddTagArg
AlphaGetMetadataArg
CommitInfo
ContentSyncSetting
ContentSyncSettingArg
CreateFolderArg
CreateFolderBatchArg
CreateFolderBatchResult
CreateFolderEntryResult
CreateFolderResult
DeleteArg
DeleteBatchArg
DeleteBatchResult
DeleteBatchResultData
DeleteResult
DeletedMetadata
Indicates that there used to be a file or folder at this path, but it no longer exists.
Dimensions
Dimensions for a photo or video.
DownloadArg
DownloadZipArg
DownloadZipResult
ExportArg
ExportInfo
Export information for a file.
ExportMetadata
ExportResult
FileLock
FileLockMetadata
FileMetadata
FileOpsResult
FileSharingInfo
Sharing info for a file which is contained by a shared folder.
FolderMetadata
FolderSharingInfo
Sharing info for a folder which is contained in a shared folder or is a shared folder mount point.
GetCopyReferenceArg
GetCopyReferenceResult
GetMetadataArg
GetTagsArg
GetTagsResult
GetTemporaryLinkArg
GetTemporaryLinkResult
GetTemporaryUploadLinkArg
GetTemporaryUploadLinkResult
GetThumbnailBatchArg
Arguments for get_thumbnail_batch().
GetThumbnailBatchResult
GetThumbnailBatchResultData
GpsCoordinates
GPS coordinates for a photo or video.
HighlightSpan
ListFolderArg
ListFolderContinueArg
ListFolderGetLatestCursorResult
ListFolderLongpollArg
ListFolderLongpollResult
ListFolderResult
ListRevisionsArg
ListRevisionsResult
LockConflictError
LockFileArg
LockFileBatchArg
LockFileBatchResult
LockFileResult
MinimalFileLinkMetadata
MoveBatchArg
PaperCreateArg
PaperCreateResult
PaperUpdateArg
PaperUpdateResult
PathToTags
PhotoMetadata
Metadata for a photo.
PreviewArg
PreviewResult
RelocationArg
RelocationBatchArg
RelocationBatchArgBase
RelocationBatchResult
RelocationBatchResultData
RelocationBatchV2Result
RelocationPath
RelocationResult
RemoveTagArg
RestoreArg
SaveCopyReferenceArg
SaveCopyReferenceResult
SaveUrlArg
SearchArg
SearchMatch
SearchMatchFieldOptions
SearchMatchV2
SearchOptions
SearchResult
SearchV2Arg
SearchV2ContinueArg
SearchV2Result
SharedLink
SharedLinkFileInfo
SharingInfo
Sharing info for a file or folder.
SingleUserLock
SymlinkInfo
ThumbnailArg
ThumbnailV2Arg
UnlockFileArg
UnlockFileBatchArg
UploadArg
UploadSessionAppendArg
UploadSessionCursor
UploadSessionFinishArg
UploadSessionFinishBatchArg
UploadSessionFinishBatchResult
UploadSessionOffsetError
UploadSessionStartArg
UploadSessionStartBatchArg
UploadSessionStartBatchResult
UploadSessionStartResult
UploadWriteFailed
UserGeneratedTag
VideoMetadata
Metadata for a video.

Enums§

AddTagError
AlphaGetMetadataError
BaseTagError
CreateFolderBatchError
CreateFolderBatchJobStatus
CreateFolderBatchLaunch
Result returned by create_folder_batch() that may either launch an asynchronous job or complete synchronously.
CreateFolderBatchResultEntry
CreateFolderEntryError
CreateFolderError
DeleteBatchError
DeleteBatchJobStatus
DeleteBatchLaunch
Result returned by delete_batch() that may either launch an asynchronous job or complete synchronously.
DeleteBatchResultEntry
DeleteError
DownloadError
DownloadZipError
ExportError
FileCategory
FileLockContent
FileStatus
GetCopyReferenceError
GetMetadataError
GetTemporaryLinkError
GetThumbnailBatchError
GetThumbnailBatchResultEntry
ImportFormat
The import format of the incoming Paper doc content.
ListFolderContinueError
ListFolderError
ListFolderLongpollError
ListRevisionsError
ListRevisionsMode
LockFileError
LockFileResultEntry
LookupError
MediaInfo
MediaMetadata
Metadata for a photo or video.
Metadata
Metadata for a file or folder.
MetadataV2
Metadata for a file, folder or other resource types.
MoveIntoFamilyError
MoveIntoVaultError
PaperContentError
PaperCreateError
PaperDocUpdatePolicy
PaperUpdateError
PathOrLink
PreviewError
RelocationBatchError
RelocationBatchErrorEntry
RelocationBatchJobStatus
RelocationBatchLaunch
Result returned by copy_batch() or move_batch() that may either launch an asynchronous job or complete synchronously.
RelocationBatchResultEntry
RelocationBatchV2JobStatus
Result returned by copy_batch_check_v2() or move_batch_check_v2() that may either be in progress or completed with result for each entry.
RelocationBatchV2Launch
Result returned by copy_batch_v2() or move_batch_v2() that may either launch an asynchronous job or complete synchronously.
RelocationError
RemoveTagError
RestoreError
SaveCopyReferenceError
SaveUrlError
SaveUrlJobStatus
SaveUrlResult
SearchError
SearchMatchType
Indicates what type of match was found for a given item.
SearchMatchTypeV2
Indicates what type of match was found for a given item.
SearchMode
SearchOrderBy
SyncSetting
SyncSettingArg
SyncSettingsError
Tag
Tag that can be added in multiple ways.
ThumbnailError
ThumbnailFormat
ThumbnailMode
ThumbnailSize
ThumbnailV2Error
UploadError
UploadSessionAppendError
UploadSessionFinishBatchJobStatus
UploadSessionFinishBatchLaunch
Result returned by upload_session_finish_batch() that may either launch an asynchronous job or complete synchronously.
UploadSessionFinishBatchResultEntry
UploadSessionFinishError
UploadSessionLookupError
UploadSessionStartError
UploadSessionType
WriteConflictError
WriteError
WriteMode
Your intent when writing a file to some path. This is used to determine what constitutes a conflict and what the autorename strategy is. In some situations, the conflict behavior is identical: (a) If the target path doesn’t refer to anything, the file is always written; no conflict. (b) If the target path refers to a folder, it’s always a conflict. (c) If the target path refers to a file with identical contents, nothing gets written; no conflict. The conflict checking differs in the case where there’s a file at the target path with contents different from the contents you’re trying to write.

Type Aliases§

CopyBatchArg
FileId
Id
ListFolderCursor
MalformedPathError
Path
PathOrId
PathR
PathROrId
ReadPath
Rev
SearchV2Cursor
Sha256HexHash
SharedLinkUrl
TagText
WritePath
WritePathOrId