Skip to main content

RecordLimitsSetters

Trait RecordLimitsSetters 

Source
pub trait RecordLimitsSetters: Holds<RecordLimits> + Sized {
    // Required methods
    fn groups(self, value: impl Into<Limit>) -> Self;
    fn field_bytes(self, value: impl Into<Limit>) -> Self;
    fn email_bytes(self, value: impl Into<Limit>) -> Self;
    fn display_name_bytes(self, value: impl Into<Limit>) -> Self;
}
Expand description

The typed setters of RecordLimits, for any builder that holds its settings.

Required Methods§

Source

fn groups(self, value: impl Into<Limit>) -> Self

Groups one record holds.

Source

fn field_bytes(self, value: impl Into<Limit>) -> Self

Bytes in an id, a name or a group.

Source

fn email_bytes(self, value: impl Into<Limit>) -> Self

Bytes in an email address.

Source

fn display_name_bytes(self, value: impl Into<Limit>) -> Self

Bytes in a display name.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<__B> RecordLimitsSetters for __B
where __B: Holds<RecordLimits>,