pub struct CreditRegistration {Show 43 fields
pub id: Uuid,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub deleted_at: Option<DateTime<Utc>>,
pub course_module_completion_id: Uuid,
pub user_id: Uuid,
pub course_id: Uuid,
pub course_module_id: Uuid,
pub course_instance_id: Uuid,
pub state: CreditRegistrationState,
pub state_entered_at: DateTime<Utc>,
pub error_code: Option<CreditRegistrationErrorCode>,
pub error_message: Option<String>,
pub needs_admin_attention: bool,
pub enrolment_banner_dismissed_at: Option<DateTime<Utc>>,
pub student_number: Option<String>,
pub sisu_person_id: Option<String>,
pub uh_course_code: Option<String>,
pub selected_enrolment_id: Option<String>,
pub selected_enrolment_kind: Option<String>,
pub selected_enrolment_realisation_id: Option<String>,
pub attainment_date: Option<NaiveDate>,
pub attainment_language: Option<String>,
pub grade_scale_id: Option<String>,
pub grade_id: Option<String>,
pub credits: Option<f32>,
pub request_item_id: String,
pub submitted_attainment_id: Option<String>,
pub submitted_attainment_type: Option<String>,
pub sisu_attainment_id: Option<String>,
pub sisu_attainment_type: Option<String>,
pub submit_retry_count: i32,
pub verify_attempt_count: i32,
pub next_attempt_at: DateTime<Utc>,
pub first_failed_at: Option<DateTime<Utc>>,
pub last_attempt_at: Option<DateTime<Utc>>,
pub attempt_number: i32,
pub superseded_by_id: Option<Uuid>,
pub superseded_at: Option<DateTime<Utc>>,
pub enrolment_checked_at: Option<DateTime<Utc>>,
pub submitted_at: Option<DateTime<Utc>>,
pub registered_at: Option<DateTime<Utc>>,
pub terminal_at: Option<DateTime<Utc>>,
}Fields§
§id: Uuid§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§deleted_at: Option<DateTime<Utc>>§course_module_completion_id: Uuid§user_id: Uuid§course_id: Uuid§course_module_id: Uuid§course_instance_id: Uuid§state: CreditRegistrationState§state_entered_at: DateTime<Utc>§error_code: Option<CreditRegistrationErrorCode>§error_message: Option<String>§needs_admin_attention: bool§student_number: Option<String>§sisu_person_id: Option<String>§uh_course_code: Option<String>§selected_enrolment_id: Option<String>§selected_enrolment_kind: Option<String>§selected_enrolment_realisation_id: Option<String>§attainment_date: Option<NaiveDate>§attainment_language: Option<String>§grade_scale_id: Option<String>§grade_id: Option<String>§credits: Option<f32>§request_item_id: String§submitted_attainment_id: Option<String>§submitted_attainment_type: Option<String>§sisu_attainment_id: Option<String>§sisu_attainment_type: Option<String>§submit_retry_count: i32§verify_attempt_count: i32§next_attempt_at: DateTime<Utc>§first_failed_at: Option<DateTime<Utc>>§last_attempt_at: Option<DateTime<Utc>>§attempt_number: i32§superseded_by_id: Option<Uuid>§superseded_at: Option<DateTime<Utc>>§enrolment_checked_at: Option<DateTime<Utc>>§submitted_at: Option<DateTime<Utc>>§registered_at: Option<DateTime<Utc>>§terminal_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for CreditRegistration
impl Clone for CreditRegistration
Source§fn clone(&self) -> CreditRegistration
fn clone(&self) -> CreditRegistration
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 ComposeSchema for CreditRegistration
impl ComposeSchema for CreditRegistration
Source§impl Debug for CreditRegistration
impl Debug for CreditRegistration
Source§impl<'de> Deserialize<'de> for CreditRegistration
impl<'de> Deserialize<'de> for CreditRegistration
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 CreditRegistration
impl PartialEq for CreditRegistration
Source§impl Serialize for CreditRegistration
impl Serialize for CreditRegistration
Source§impl ToSchema for CreditRegistration
impl ToSchema for CreditRegistration
impl StructuralPartialEq for CreditRegistration
Auto Trait Implementations§
impl Freeze for CreditRegistration
impl RefUnwindSafe for CreditRegistration
impl Send for CreditRegistration
impl Sync for CreditRegistration
impl Unpin for CreditRegistration
impl UnsafeUnpin for CreditRegistration
impl UnwindSafe for CreditRegistration
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,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
§fn decompression(self) -> Decompression<Self>where
Self: Sized,
fn decompression(self) -> Decompression<Self>where
Self: Sized,
Decompress response bodies. Read more
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more