pub struct Disable {
pub must_offer_protocol: Option<Vec<String>>,
pub must_use_protocol: Option<Vec<String>>,
}
Expand description
Example:
disable: {
must_offer_protocol: [ "fuchsia.logger.LogSink", "fuchsia.component.Binder" ],
must_use_protocol: [ "fuchsia.logger.LogSink" ],
}
Fields§
§must_offer_protocol: Option<Vec<String>>
Lists protocols for which the option “–must-offer-protocol” is disabled.
must_use_protocol: Option<Vec<String>>
Lists protocols for which the option “–must-use-protocol” is disabled.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Disable
impl<'de> Deserialize<'de> for Disable
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
source§impl MarkdownReferenceDocGenerator for Disable
impl MarkdownReferenceDocGenerator for Disable
source§fn get_reference_doc_markdown() -> String
fn get_reference_doc_markdown() -> String
Returns a Markdown representation of the reference docs for the
struct that is derived from
ReferenceDoc
. The returned Markdown
indents any #
Markdown headers in individual field doc comments
to ensure a well structured final Markdown document.§fn get_reference_doc_markdown_with_options(
indent_headers_by: usize,
indent_with_spaces: usize
) -> String
fn get_reference_doc_markdown_with_options( indent_headers_by: usize, indent_with_spaces: usize ) -> String
This method is called internally by the reference doc generator when
recursing to generate documentation for field types.
source§impl PartialEq for Disable
impl PartialEq for Disable
impl StructuralPartialEq for Disable
Auto Trait Implementations§
impl Freeze for Disable
impl RefUnwindSafe for Disable
impl Send for Disable
impl Sync for Disable
impl Unpin for Disable
impl UnwindSafe for Disable
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