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§
Sourcefn is_published(&self) -> bool
fn is_published(&self) -> bool
Returns whether the remote object is already published.
Sourcefn allows_metadata_updates(&self) -> bool
fn allows_metadata_updates(&self) -> bool
Returns whether metadata edits are currently allowed.