Expand description
Convenient re-exports for common types and traits
This module provides a convenient way to import the most commonly used types
and traits from the Files.com SDK. It follows the Rust convention of providing
a prelude
module for frequently-used items.
§Usage
use files_sdk::prelude::*;
// Now you have access to all common types without individual imports
let client = FilesClient::builder()
.api_key("your-api-key")
.build()?;
let file_handler = FileHandler::new(client.clone());
Re-exports§
pub use crate::client::FilesClient;
pub use crate::client::FilesClientBuilder;
pub use crate::error::FilesError;
pub use crate::error::Result;
pub use crate::types::FileEntity;
pub use crate::types::FileUploadPartEntity;
pub use crate::types::FolderEntity;
pub use crate::types::PaginationInfo;
pub use crate::progress::Progress;
pub use crate::progress::ProgressCallback;
pub use crate::files::FileActionHandler;
pub use crate::files::FileHandler;
pub use crate::files::FolderHandler;
pub use crate::users::ApiKeyHandler;
pub use crate::users::GroupHandler;
pub use crate::users::SessionHandler;
pub use crate::users::UserHandler;
pub use crate::sharing::BundleHandler;
pub use crate::sharing::RequestHandler;
pub use crate::automation::AutomationHandler;
pub use crate::automation::BehaviorHandler;