nominal-api 0.1240.0

API bindings for the Nominal platform
Documentation
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct McapChannelConfig {
    #[builder(
        custom(type = super::super::super::api::McapChannelLocator, convert = Box::new)
    )]
    #[serde(rename = "locator")]
    locator: Box<super::super::super::api::McapChannelLocator>,
    #[builder(custom(type = super::McapChannelConfigType, convert = Box::new))]
    #[serde(rename = "channelType")]
    channel_type: Box<super::McapChannelConfigType>,
}
impl McapChannelConfig {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        locator: super::super::super::api::McapChannelLocator,
        channel_type: super::McapChannelConfigType,
    ) -> Self {
        Self::builder().locator(locator).channel_type(channel_type).build()
    }
    #[inline]
    pub fn locator(&self) -> &super::super::super::api::McapChannelLocator {
        &*self.locator
    }
    #[inline]
    pub fn channel_type(&self) -> &super::McapChannelConfigType {
        &*self.channel_type
    }
}