#[non_exhaustive]pub struct NamespaceValidateInput {
pub org: Option<String>,
pub namespace: Option<String>,
pub sample_limit: Option<Integer>,
pub conflict_age_seconds: Option<Integer>,
pub confidence_floor: Option<f64>,
pub embed_grace_seconds: Option<Integer>,
pub strict: Option<bool>,
pub keys: Option<Vec<String>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.org: Option<String>§namespace: Option<String>§sample_limit: Option<Integer>§conflict_age_seconds: Option<Integer>§confidence_floor: Option<f64>§embed_grace_seconds: Option<Integer>§strict: Option<bool>§keys: Option<Vec<String>>Implementations§
Source§impl NamespaceValidateInput
impl NamespaceValidateInput
pub fn new() -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn sample_limit(self, sample_limit: impl Into<Integer>) -> Self
pub fn conflict_age_seconds( self, conflict_age_seconds: impl Into<Integer>, ) -> Self
pub fn confidence_floor(self, confidence_floor: f64) -> Self
pub fn embed_grace_seconds( self, embed_grace_seconds: impl Into<Integer>, ) -> Self
pub fn strict(self, strict: bool) -> Self
pub fn keys(self, keys: impl IntoIterator<Item = impl Into<String>>) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<NamespaceValidateOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for NamespaceValidateInput
impl Clone for NamespaceValidateInput
Source§impl Debug for NamespaceValidateInput
impl Debug for NamespaceValidateInput
Source§impl Default for NamespaceValidateInput
impl Default for NamespaceValidateInput
Source§impl<'de> Deserialize<'de> for NamespaceValidateInput
impl<'de> Deserialize<'de> for NamespaceValidateInput
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 PartialEq for NamespaceValidateInput
impl PartialEq for NamespaceValidateInput
Source§impl Serialize for NamespaceValidateInput
impl Serialize for NamespaceValidateInput
impl StructuralPartialEq for NamespaceValidateInput
Auto Trait Implementations§
impl Forget for NamespaceValidateInput
impl Freeze for NamespaceValidateInput
impl Move for NamespaceValidateInput
impl RefUnwindSafe for NamespaceValidateInput
impl Send for NamespaceValidateInput
impl Sync for NamespaceValidateInput
impl Unpin for NamespaceValidateInput
impl UnsafeUnpin for NamespaceValidateInput
impl UnwindSafe for NamespaceValidateInput
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