Skip to main content

DraftState

Trait DraftState 

Source
pub trait DraftState {
    // Required methods
    fn is_published(&self) -> bool;
    fn allows_metadata_updates(&self) -> bool;
}
Expand description

Shared publication-state inspection for mutable resources.

Required Methods§

Source

fn is_published(&self) -> bool

Returns whether the remote object is already published.

Source

fn allows_metadata_updates(&self) -> bool

Returns whether metadata edits are currently allowed.

Implementors§