Skip to main content

Smug

Trait Smug 

Source
pub trait Smug {
    // Required methods
    async fn children(&self, node_uri: &str) -> Result<Vec<ChildNode>>;
    async fn create_folder(
        &self,
        parent_node_uri: &str,
        name: &str,
    ) -> Result<String>;
    async fn create_album(
        &self,
        parent_node_uri: &str,
        name: &str,
    ) -> Result<Album>;
    async fn image_count(&self, album: &Album) -> Result<u64>;
    async fn album_images(&self, album_key: &str) -> Result<Vec<AlbumImage>>;
}
Expand description

The SmugMug calls placing files by date needs.

Required Methods§

Source

async fn children(&self, node_uri: &str) -> Result<Vec<ChildNode>>

Source

async fn create_folder( &self, parent_node_uri: &str, name: &str, ) -> Result<String>

Create a private folder; returns its node URI.

Source

async fn create_album(&self, parent_node_uri: &str, name: &str) -> Result<Album>

Create a private album.

Source

async fn image_count(&self, album: &Album) -> Result<u64>

Source

async fn album_images(&self, album_key: &str) -> Result<Vec<AlbumImage>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§