bookclerk_plugin_abi::plugin_capnp::notification_message

Development These docs follow the development version and change with every merge.

Last updated View as Markdown

Item Kind Summary
Owned struct
Reader struct
Builder struct
Pipeline struct

Structs

Owned

pub struct Owned(/* private */);

Implements: Clone, Copy, Introspect, Owned, OwnedStruct, Pipelined, SetterInput<Owned>

Reader

pub struct Reader<'a> {
    /* private fields */
}

Reader::reborrow

pub fn reborrow(&self) -> Reader<'_>

Reader::total_size

pub fn total_size(&self) -> Result<MessageSize>

Reader::get_notification_id

pub fn get_notification_id(self) -> Result<Reader<'a>>

Reader::has_notification_id

pub fn has_notification_id(&self) -> bool

Reader::get_notification_type

pub fn get_notification_type(self) -> Result<Reader<'a>>

Reader::has_notification_type

pub fn has_notification_type(&self) -> bool

Reader::get_severity

pub fn get_severity(self) -> Result<NotificationSeverity, NotInSchema>

Reader::get_title

pub fn get_title(self) -> Result<Reader<'a>>

Reader::has_title

pub fn has_title(&self) -> bool

Reader::get_text

pub fn get_text(self) -> Result<Reader<'a>>

Reader::has_text

pub fn has_text(&self) -> bool

Reader::get_markdown

pub fn get_markdown(self) -> Result<Reader<'a>>

Reader::has_markdown

pub fn has_markdown(&self) -> bool

Reader::get_html

pub fn get_html(self) -> Result<Reader<'a>>

Reader::has_html

pub fn has_html(&self) -> bool
pub fn get_link(self) -> Result<Reader<'a>>
pub fn has_link(&self) -> bool

Reader::get_fields

pub fn get_fields(self) -> Result<Reader<'a, Owned>>

Reader::has_fields

pub fn has_fields(&self) -> bool

Reader::get_group_key

pub fn get_group_key(self) -> Result<Reader<'a>>

Reader::has_group_key

pub fn has_group_key(&self) -> bool

Reader::get_alert_action

pub fn get_alert_action(self) -> Result<NotificationAlertAction, NotInSchema>

Reader::get_alert_key

pub fn get_alert_key(self) -> Result<Reader<'a>>

Reader::has_alert_key

pub fn has_alert_key(&self) -> bool

Reader::get_sensitive

pub fn get_sensitive(self) -> bool

Implements: Clone, Copy, Debug, From<Reader<'a>>, From<StructReader<'a>>, FromPointerReader<'a>, HasTypeId, Imbue<'a>, IntoInternalStructReader<'a>, SetterInput<Owned>

Builder

pub struct Builder<'a> {
    /* private fields */
}

Builder::into_reader

pub fn into_reader(self) -> Reader<'a>

Builder::reborrow

pub fn reborrow(&mut self) -> Builder<'_>

Builder::reborrow_as_reader

pub fn reborrow_as_reader(&self) -> Reader<'_>

Builder::total_size

pub fn total_size(&self) -> Result<MessageSize>

Builder::get_notification_id

pub fn get_notification_id(self) -> Result<Builder<'a>>

Builder::set_notification_id

pub fn set_notification_id(&mut self, value: impl SetterInput<Owned>)

Builder::init_notification_id

pub fn init_notification_id(self, size: u32) -> Builder<'a>

Builder::has_notification_id

pub fn has_notification_id(&self) -> bool

Builder::get_notification_type

pub fn get_notification_type(self) -> Result<Builder<'a>>

Builder::set_notification_type

pub fn set_notification_type(&mut self, value: impl SetterInput<Owned>)

Builder::init_notification_type

pub fn init_notification_type(self, size: u32) -> Builder<'a>

Builder::has_notification_type

pub fn has_notification_type(&self) -> bool

Builder::get_severity

pub fn get_severity(self) -> Result<NotificationSeverity, NotInSchema>

Builder::set_severity

pub fn set_severity(&mut self, value: NotificationSeverity)

Builder::get_title

pub fn get_title(self) -> Result<Builder<'a>>

Builder::set_title

pub fn set_title(&mut self, value: impl SetterInput<Owned>)

Builder::init_title

pub fn init_title(self, size: u32) -> Builder<'a>

Builder::has_title

pub fn has_title(&self) -> bool

Builder::get_text

pub fn get_text(self) -> Result<Builder<'a>>

Builder::set_text

pub fn set_text(&mut self, value: impl SetterInput<Owned>)

Builder::init_text

pub fn init_text(self, size: u32) -> Builder<'a>

Builder::has_text

pub fn has_text(&self) -> bool

Builder::get_markdown

pub fn get_markdown(self) -> Result<Builder<'a>>

Builder::set_markdown

pub fn set_markdown(&mut self, value: impl SetterInput<Owned>)

Builder::init_markdown

pub fn init_markdown(self, size: u32) -> Builder<'a>

Builder::has_markdown

pub fn has_markdown(&self) -> bool

Builder::get_html

pub fn get_html(self) -> Result<Builder<'a>>

Builder::set_html

pub fn set_html(&mut self, value: impl SetterInput<Owned>)

Builder::init_html

pub fn init_html(self, size: u32) -> Builder<'a>

Builder::has_html

pub fn has_html(&self) -> bool
pub fn get_link(self) -> Result<Builder<'a>>
pub fn set_link(&mut self, value: impl SetterInput<Owned>)
pub fn init_link(self, size: u32) -> Builder<'a>
pub fn has_link(&self) -> bool

Builder::get_fields

pub fn get_fields(self) -> Result<Builder<'a, Owned>>

Builder::set_fields

pub fn set_fields(&mut self, value: Reader<'_, Owned>) -> Result<()>

Builder::init_fields

pub fn init_fields(self, size: u32) -> Builder<'a, Owned>

Builder::has_fields

pub fn has_fields(&self) -> bool

Builder::get_group_key

pub fn get_group_key(self) -> Result<Builder<'a>>

Builder::set_group_key

pub fn set_group_key(&mut self, value: impl SetterInput<Owned>)

Builder::init_group_key

pub fn init_group_key(self, size: u32) -> Builder<'a>

Builder::has_group_key

pub fn has_group_key(&self) -> bool

Builder::get_alert_action

pub fn get_alert_action(self) -> Result<NotificationAlertAction, NotInSchema>

Builder::set_alert_action

pub fn set_alert_action(&mut self, value: NotificationAlertAction)

Builder::get_alert_key

pub fn get_alert_key(self) -> Result<Builder<'a>>

Builder::set_alert_key

pub fn set_alert_key(&mut self, value: impl SetterInput<Owned>)

Builder::init_alert_key

pub fn init_alert_key(self, size: u32) -> Builder<'a>

Builder::has_alert_key

pub fn has_alert_key(&self) -> bool

Builder::get_sensitive

pub fn get_sensitive(self) -> bool

Builder::set_sensitive

pub fn set_sensitive(&mut self, value: bool)

Implements: From<Builder<'a>>, From<StructBuilder<'a>>, FromPointerBuilder<'a>, HasStructSize, HasTypeId, ImbueMut<'a>

Pipeline

pub struct Pipeline {
    /* private fields */
}

Implements: FromTypelessPipeline

Generated from crates/bookclerk-plugin-abi at main · View as Markdown