pub struct Profile {Show 35 fields
pub deprecated: Option<BTreeMap<String, String>>,
pub address: Option<Address>,
pub association: Option<Association>,
pub banner: Option<DomainObjectFile>,
pub denomination: Option<Denomination>,
pub description: Option<String>,
pub email: Option<String>,
pub finder_url: Option<String>,
pub gallery: Vec<DomainObjectFile>,
pub groups: Vec<ProfileGroupsItem>,
pub guid: String,
pub id: i64,
pub is_published: bool,
pub is_registration_open: Option<bool>,
pub logo: Option<DomainObjectFile>,
pub meta: MetaDataEntityId,
pub name: String,
pub name_translated: String,
pub phone: Option<String>,
pub profile_type: String,
pub service_banner: Option<String>,
pub service_banner_new: Option<DomainObjectFile>,
pub services: Option<Vec<ProfileServicesItem>>,
pub short_name: Option<String>,
pub shorty: String,
pub sign_up_group: Option<ProfileSignUpGroupVariant1>,
pub slug: Option<String>,
pub social_media: BTreeMap<String, String>,
pub sort_key: i64,
pub tags: Vec<ProfileTagsItem>,
pub team: Vec<ProfileTeamItem>,
pub team_title: Option<String>,
pub visitors: i64,
pub website: Option<String>,
pub extra: Map<String, Value>,
}Expand description
Profiles are representing campuses and the church itself.
Fields§
§deprecated: Option<BTreeMap<String, String>>§address: Option<Address>§association: Option<Association>Will be the same for all profiles.
denomination: Option<Denomination>§description: Option<String>§email: Option<String>§finder_url: Option<String>§gallery: Vec<DomainObjectFile>§groups: Vec<ProfileGroupsItem>§guid: String§id: i64§is_published: bool§is_registration_open: Option<bool>Indicates whether registration is currently available for this profile. Only present when registration is active.
logo: Option<DomainObjectFile>§meta: MetaDataEntityId§name: String§name_translated: String§phone: Option<String>§profile_type: Stringchurch: Church profile for this installation; campus: one specific campus profile
Allowed values: campus, church.
👎Deprecated:
Use serviceBanner_new instead.
Use serviceBanner_new instead.
services: Option<Vec<ProfileServicesItem>>§short_name: Option<String>§shorty: String§sign_up_group: Option<ProfileSignUpGroupVariant1>§slug: Option<String>§sort_key: i64§team: Vec<ProfileTeamItem>§team_title: Option<String>§visitors: i64§website: Option<String>§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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