#[non_exhaustive]pub struct CustomListAttributes {
pub name: String,
pub visibility: CustomListVisibility,
pub version: u32,
}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.name: String§visibility: CustomListVisibility§version: u32Trait Implementations§
Source§impl Clone for CustomListAttributes
impl Clone for CustomListAttributes
Source§fn clone(&self) -> CustomListAttributes
fn clone(&self) -> CustomListAttributes
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 CustomListAttributes
impl Debug for CustomListAttributes
Source§impl Default for CustomListAttributes
impl Default for CustomListAttributes
Source§fn default() -> CustomListAttributes
fn default() -> CustomListAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomListAttributes
impl<'de> Deserialize<'de> for CustomListAttributes
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CustomListAttributes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CustomListAttributes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CustomListAttributes
impl PartialEq for CustomListAttributes
Source§impl TypedAttributes for CustomListAttributes
impl TypedAttributes for CustomListAttributes
const TYPE_: RelationshipType = RelationshipType::CustomList
impl StructuralPartialEq for CustomListAttributes
Auto Trait Implementations§
impl Freeze for CustomListAttributes
impl RefUnwindSafe for CustomListAttributes
impl Send for CustomListAttributes
impl Sync for CustomListAttributes
impl Unpin for CustomListAttributes
impl UnwindSafe for CustomListAttributes
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