nominal-api-conjure 0.1430.0

Conjure HTTP 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 ColumnTableStateV1 {
    #[builder(
        default,
        map(
            key(type = String, into),
            value(
                custom(
                    type = impl
                    conjure_object::serde::Serialize,
                    convert = |v|conjure_object::Any::new(
                        v
                    ).expect("value failed to serialize")
                )
            )
        )
    )]
    #[serde(
        rename = "state",
        skip_serializing_if = "std::collections::BTreeMap::is_empty",
        default
    )]
    state: std::collections::BTreeMap<String, conjure_object::Any>,
}
impl ColumnTableStateV1 {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    /// Client-owned table state payload: a JSON object of sort, column
    /// order, width, visibility, and filters. Unmodelled so the client
    /// grid library's own shapes never freeze into this API.
    #[inline]
    pub fn state(&self) -> &std::collections::BTreeMap<String, conjure_object::Any> {
        &self.state
    }
}