pub struct CategoryGroup {
pub id: CategoryGroupId,
pub name: String,
pub sort_order: i32,
pub hidden: bool,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
A group of related categories (e.g., “Bills”, “Needs”, “Wants”)
Fields§
§id: CategoryGroupIdUnique identifier
name: StringGroup name
sort_order: i32Sort order for display
Whether this group is hidden (collapsed in UI)
created_at: DateTime<Utc>When the group was created
updated_at: DateTime<Utc>When the group was last modified
Implementations§
Source§impl CategoryGroup
impl CategoryGroup
Trait Implementations§
Source§impl Clone for CategoryGroup
impl Clone for CategoryGroup
Source§fn clone(&self) -> CategoryGroup
fn clone(&self) -> CategoryGroup
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 CategoryGroup
impl Debug for CategoryGroup
Source§impl<'de> Deserialize<'de> for CategoryGroup
impl<'de> Deserialize<'de> for CategoryGroup
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 Display for CategoryGroup
impl Display for CategoryGroup
Auto Trait Implementations§
impl Freeze for CategoryGroup
impl RefUnwindSafe for CategoryGroup
impl Send for CategoryGroup
impl Sync for CategoryGroup
impl Unpin for CategoryGroup
impl UnwindSafe for CategoryGroup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more