pub struct CommonCourseData {
pub db_pool: Pool<Postgres>,
pub organization_id: Uuid,
pub teacher_user_id: Uuid,
pub student_user_id: Uuid,
pub langs_user_id: Uuid,
pub example_normal_user_ids: Arc<Vec<Uuid>>,
pub jwt_key: Arc<JwtKey>,
pub base_url: String,
}Fields§
§db_pool: Pool<Postgres>§organization_id: Uuid§teacher_user_id: Uuid§student_user_id: Uuid§langs_user_id: Uuid§example_normal_user_ids: Arc<Vec<Uuid>>§jwt_key: Arc<JwtKey>§base_url: StringTrait Implementations§
Source§impl Clone for CommonCourseData
impl Clone for CommonCourseData
Source§fn clone(&self) -> CommonCourseData
fn clone(&self) -> CommonCourseData
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 moreAuto Trait Implementations§
impl Freeze for CommonCourseData
impl !RefUnwindSafe for CommonCourseData
impl Send for CommonCourseData
impl Sync for CommonCourseData
impl Unpin for CommonCourseData
impl !UnwindSafe for CommonCourseData
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more