pub struct PluginConfigPresentationManifest {
pub label: Option<String>,
pub help: Option<String>,
pub category_id: Option<String>,
pub category_label: Option<String>,
pub category_summary: Option<String>,
pub category_order: Option<u32>,
pub setting_order: Option<u32>,
pub unit: Option<String>,
pub placeholder: Option<String>,
pub control_hint: Option<String>,
pub renderer_id: Option<String>,
}Fields§
§label: Option<String>§help: Option<String>§category_id: Option<String>§category_label: Option<String>§category_summary: Option<String>§category_order: Option<u32>§setting_order: Option<u32>§unit: Option<String>§placeholder: Option<String>§control_hint: Option<String>§renderer_id: Option<String>Implementations§
Source§impl PluginConfigPresentationManifest
impl PluginConfigPresentationManifest
Sourcepub fn label(&self) -> &str
pub fn label(&self) -> &str
Returns the value of label, or the default value if label is unset.
Sourcepub fn category_id(&self) -> &str
pub fn category_id(&self) -> &str
Returns the value of category_id, or the default value if category_id is unset.
Sourcepub fn category_label(&self) -> &str
pub fn category_label(&self) -> &str
Returns the value of category_label, or the default value if category_label is unset.
Sourcepub fn category_summary(&self) -> &str
pub fn category_summary(&self) -> &str
Returns the value of category_summary, or the default value if category_summary is unset.
Sourcepub fn category_order(&self) -> u32
pub fn category_order(&self) -> u32
Returns the value of category_order, or the default value if category_order is unset.
Sourcepub fn setting_order(&self) -> u32
pub fn setting_order(&self) -> u32
Returns the value of setting_order, or the default value if setting_order is unset.
Sourcepub fn placeholder(&self) -> &str
pub fn placeholder(&self) -> &str
Returns the value of placeholder, or the default value if placeholder is unset.
Sourcepub fn control_hint(&self) -> &str
pub fn control_hint(&self) -> &str
Returns the value of control_hint, or the default value if control_hint is unset.
Sourcepub fn renderer_id(&self) -> &str
pub fn renderer_id(&self) -> &str
Returns the value of renderer_id, or the default value if renderer_id is unset.
Trait Implementations§
Source§impl Clone for PluginConfigPresentationManifest
impl Clone for PluginConfigPresentationManifest
Source§fn clone(&self) -> PluginConfigPresentationManifest
fn clone(&self) -> PluginConfigPresentationManifest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for PluginConfigPresentationManifest
impl<'de> Deserialize<'de> for PluginConfigPresentationManifest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PluginConfigPresentationManifest
Source§impl Message for PluginConfigPresentationManifest
impl Message for PluginConfigPresentationManifest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.impl StructuralPartialEq for PluginConfigPresentationManifest
Auto Trait Implementations§
impl Freeze for PluginConfigPresentationManifest
impl RefUnwindSafe for PluginConfigPresentationManifest
impl Send for PluginConfigPresentationManifest
impl Sync for PluginConfigPresentationManifest
impl Unpin for PluginConfigPresentationManifest
impl UnsafeUnpin for PluginConfigPresentationManifest
impl UnwindSafe for PluginConfigPresentationManifest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more