Struct headless_lms_models::organizations::Organization
source · pub struct Organization {
pub id: Uuid,
pub slug: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub name: String,
pub description: Option<String>,
pub organization_image_url: Option<String>,
pub deleted_at: Option<DateTime<Utc>>,
}
Fields§
§id: Uuid
§slug: String
§created_at: DateTime<Utc>
§updated_at: DateTime<Utc>
§name: String
§description: Option<String>
§organization_image_url: Option<String>
§deleted_at: Option<DateTime<Utc>>
Implementations§
source§impl Organization
impl Organization
pub fn from_database_organization( organization: DatabaseOrganization, file_store: &dyn FileStore, app_conf: &ApplicationConfiguration ) -> Self
Trait Implementations§
source§impl Clone for Organization
impl Clone for Organization
source§fn clone(&self) -> Organization
fn clone(&self) -> Organization
Returns a copy 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 Organization
impl Debug for Organization
source§impl<'de> Deserialize<'de> for Organization
impl<'de> Deserialize<'de> for Organization
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 Organization
impl PartialEq for Organization
source§fn eq(&self, other: &Organization) -> bool
fn eq(&self, other: &Organization) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Organization
impl Serialize for Organization
impl StructuralPartialEq for Organization
Auto Trait Implementations§
impl RefUnwindSafe for Organization
impl Send for Organization
impl Sync for Organization
impl Unpin for Organization
impl UnwindSafe for Organization
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