pub struct TextProperty {
pub list: Option<bool>,
pub collation: Option<String>,
pub max_list_size: Option<i32>,
pub max_text_size: Option<i32>,
}Expand description
Description of a text property.
Fields§
§list: Option<bool>Whether this is a list or not.
collation: Option<String>Optional text collation.
max_list_size: Option<i32>Maximum allowed length of the list.
max_text_size: Option<i32>Maximum allowed size of each text entry, as utf-8 bytes.
Trait Implementations§
Source§impl Clone for TextProperty
impl Clone for TextProperty
Source§fn clone(&self) -> TextProperty
fn clone(&self) -> TextProperty
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextProperty
impl Debug for TextProperty
Source§impl Default for TextProperty
impl Default for TextProperty
Source§fn default() -> TextProperty
fn default() -> TextProperty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextProperty
impl<'de> Deserialize<'de> for TextProperty
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
Auto Trait Implementations§
impl Freeze for TextProperty
impl RefUnwindSafe for TextProperty
impl Send for TextProperty
impl Sync for TextProperty
impl Unpin for TextProperty
impl UnwindSafe for TextProperty
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