pub struct CreateOutcome {
pub name: String,
pub parent_folder_id: String,
pub result: CreateResult,
}Expand description
The full outcome of one attempt.
Serialised by hand (below) so the JSON carries parent_folder_id, the
name drive create and sheets create use for the same field, while
still emitting the resolved_folder_id this verb shipped with, so
existing consumers keep working (#1941).
Fields§
§name: StringThe requested title.
parent_folder_id: StringThe folder the document is created in, which the gate evaluated against.
result: CreateResultWhat happened.
Trait Implementations§
Source§impl Clone for CreateOutcome
impl Clone for CreateOutcome
Source§impl Debug for CreateOutcome
impl Debug for CreateOutcome
impl Eq for CreateOutcome
Source§impl JsonlSerialize for CreateOutcome
impl JsonlSerialize for CreateOutcome
Source§impl PartialEq for CreateOutcome
impl PartialEq for CreateOutcome
Source§impl Serialize for CreateOutcome
impl Serialize for CreateOutcome
impl StructuralPartialEq for CreateOutcome
Auto Trait Implementations§
impl Freeze for CreateOutcome
impl RefUnwindSafe for CreateOutcome
impl Send for CreateOutcome
impl Sync for CreateOutcome
impl Unpin for CreateOutcome
impl UnsafeUnpin for CreateOutcome
impl UnwindSafe for CreateOutcome
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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