pub trait CourseTrait {
Show 20 methods // Required methods fn get_available_language(&self) -> &[AvailableLanguageProperty]; fn take_available_language(&mut self) -> Vec<AvailableLanguageProperty>; fn get_course_code(&self) -> &[CourseCodeProperty]; fn take_course_code(&mut self) -> Vec<CourseCodeProperty>; fn get_course_prerequisites(&self) -> &[CoursePrerequisitesProperty]; fn take_course_prerequisites(&mut self) -> Vec<CoursePrerequisitesProperty>; fn get_educational_credential_awarded( &self ) -> &[EducationalCredentialAwardedProperty]; fn take_educational_credential_awarded( &mut self ) -> Vec<EducationalCredentialAwardedProperty>; fn get_financial_aid_eligible(&self) -> &[FinancialAidEligibleProperty]; fn take_financial_aid_eligible( &mut self ) -> Vec<FinancialAidEligibleProperty>; fn get_has_course_instance(&self) -> &[HasCourseInstanceProperty]; fn take_has_course_instance(&mut self) -> Vec<HasCourseInstanceProperty>; fn get_number_of_credits(&self) -> &[NumberOfCreditsProperty]; fn take_number_of_credits(&mut self) -> Vec<NumberOfCreditsProperty>; fn get_occupational_credential_awarded( &self ) -> &[OccupationalCredentialAwardedProperty]; fn take_occupational_credential_awarded( &mut self ) -> Vec<OccupationalCredentialAwardedProperty>; fn get_syllabus_sections(&self) -> &[SyllabusSectionsProperty]; fn take_syllabus_sections(&mut self) -> Vec<SyllabusSectionsProperty>; fn get_total_historical_enrollment( &self ) -> &[TotalHistoricalEnrollmentProperty]; fn take_total_historical_enrollment( &mut self ) -> Vec<TotalHistoricalEnrollmentProperty>;
}
Expand description

This trait is for properties from https://schema.org/Course.

Required Methods§

source

fn get_available_language(&self) -> &[AvailableLanguageProperty]

Get https://schema.org/availableLanguage from Self as borrowed slice.

source

fn take_available_language(&mut self) -> Vec<AvailableLanguageProperty>

Take https://schema.org/availableLanguage from Self as owned vector.

source

fn get_course_code(&self) -> &[CourseCodeProperty]

Get https://schema.org/courseCode from Self as borrowed slice.

source

fn take_course_code(&mut self) -> Vec<CourseCodeProperty>

Take https://schema.org/courseCode from Self as owned vector.

source

fn get_course_prerequisites(&self) -> &[CoursePrerequisitesProperty]

Get https://schema.org/coursePrerequisites from Self as borrowed slice.

source

fn take_course_prerequisites(&mut self) -> Vec<CoursePrerequisitesProperty>

Take https://schema.org/coursePrerequisites from Self as owned vector.

source

fn get_educational_credential_awarded( &self ) -> &[EducationalCredentialAwardedProperty]

source

fn take_educational_credential_awarded( &mut self ) -> Vec<EducationalCredentialAwardedProperty>

source

fn get_financial_aid_eligible(&self) -> &[FinancialAidEligibleProperty]

Get https://schema.org/financialAidEligible from Self as borrowed slice.

source

fn take_financial_aid_eligible(&mut self) -> Vec<FinancialAidEligibleProperty>

Take https://schema.org/financialAidEligible from Self as owned vector.

source

fn get_has_course_instance(&self) -> &[HasCourseInstanceProperty]

Get https://schema.org/hasCourseInstance from Self as borrowed slice.

source

fn take_has_course_instance(&mut self) -> Vec<HasCourseInstanceProperty>

Take https://schema.org/hasCourseInstance from Self as owned vector.

source

fn get_number_of_credits(&self) -> &[NumberOfCreditsProperty]

Get https://schema.org/numberOfCredits from Self as borrowed slice.

source

fn take_number_of_credits(&mut self) -> Vec<NumberOfCreditsProperty>

Take https://schema.org/numberOfCredits from Self as owned vector.

source

fn get_occupational_credential_awarded( &self ) -> &[OccupationalCredentialAwardedProperty]

source

fn take_occupational_credential_awarded( &mut self ) -> Vec<OccupationalCredentialAwardedProperty>

source

fn get_syllabus_sections(&self) -> &[SyllabusSectionsProperty]

Get https://schema.org/syllabusSections from Self as borrowed slice.

source

fn take_syllabus_sections(&mut self) -> Vec<SyllabusSectionsProperty>

Take https://schema.org/syllabusSections from Self as owned vector.

source

fn get_total_historical_enrollment( &self ) -> &[TotalHistoricalEnrollmentProperty]

source

fn take_total_historical_enrollment( &mut self ) -> Vec<TotalHistoricalEnrollmentProperty>

Implementors§