nominal-api 0.1239.0

API bindings for the Nominal platform
Documentation
/// Indicates that the websocket will shut down in the near future. Until it is, SubscriptionUpdates will
/// still be sent to the client. Clients that want to avoid downtime or latency spikes should initiate a new
/// websocket and recreate all their subscriptions there but still keep this websocket open until the new
/// websockets starts sending SubscriptionUpdates.
/// Note: The initial updates that the new websocket sends might be somewhat stale because of server and
/// connection pools warm up. The client might want to wait with fully switching to the new subscription until
/// the updates aren't very stale anymore.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash,
    Copy
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct ShutdownNotice {}
impl ShutdownNotice {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
}