nominal-api 0.1239.0

API bindings for the Nominal platform
Documentation
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Deserialize,
    conjure_object::serde::Serialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash,
    Default
)]
#[serde(crate = "conjure_object::serde", transparent)]
pub struct McapChannelTopic(pub String);
impl std::fmt::Display for McapChannelTopic {
    fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        std::fmt::Display::fmt(&self.0, fmt)
    }
}
impl conjure_object::Plain for McapChannelTopic {
    fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        conjure_object::Plain::fmt(&self.0, fmt)
    }
}
impl conjure_object::FromPlain for McapChannelTopic {
    type Err = <String as conjure_object::FromPlain>::Err;
    #[inline]
    fn from_plain(s: &str) -> Result<McapChannelTopic, Self::Err> {
        conjure_object::FromPlain::from_plain(s).map(McapChannelTopic)
    }
}
impl std::convert::From<String> for McapChannelTopic {
    #[inline]
    fn from(v: String) -> Self {
        McapChannelTopic(std::convert::From::from(v))
    }
}
impl std::ops::Deref for McapChannelTopic {
    type Target = String;
    #[inline]
    fn deref(&self) -> &String {
        &self.0
    }
}
impl std::ops::DerefMut for McapChannelTopic {
    #[inline]
    fn deref_mut(&mut self) -> &mut String {
        &mut self.0
    }
}
impl std::convert::AsRef<String> for McapChannelTopic {
    #[inline]
    fn as_ref(&self) -> &String {
        &self.0
    }
}