Skip to main content

status

Function status 

Source
pub(super) fn status(value: &str) -> Result<(), WriteError>
Expand description

状态只认 draft / published:拼写不对必须报错,不能当作草稿把已发布文章悄悄下线。