Struct telescope::api::rcos::meetings::creation::create::CreateMeeting [−][src]
pub struct CreateMeeting;
Implementations
pub async fn execute(
host: Option<uuid>,
title: Option<String>,
start: DateTime<Utc>,
end: DateTime<Utc>,
description: String,
is_draft: bool,
is_remote: bool,
location: Option<String>,
meeting_url: Option<String>,
recording_url: Option<String>,
external_slides_url: Option<String>,
semester_id: String,
kind: MeetingType
) -> Result<Option<i64>, TelescopeError>
pub async fn execute(
host: Option<uuid>,
title: Option<String>,
start: DateTime<Utc>,
end: DateTime<Utc>,
description: String,
is_draft: bool,
is_remote: bool,
location: Option<String>,
meeting_url: Option<String>,
recording_url: Option<String>,
external_slides_url: Option<String>,
semester_id: String,
kind: MeetingType
) -> Result<Option<i64>, TelescopeError>
Execute a meeting creation mutation. Return the created meeting’s ID.
Trait Implementations
The shape of the variables expected by the query. This should be a generated struct most of the time.
type ResponseData = ResponseData
type ResponseData = ResponseData
The top-level shape of the response data (the data
field in the GraphQL response). In practice this should be generated, since it is hard to write by hand without error.
Produce a GraphQL query struct that can be JSON serialized and sent to a GraphQL API.
Auto Trait Implementations
impl RefUnwindSafe for CreateMeeting
impl Send for CreateMeeting
impl Sync for CreateMeeting
impl Unpin for CreateMeeting
impl UnwindSafe for CreateMeeting
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more