Struct aws_sdk_honeycode::types::CellInput
source · #[non_exhaustive]pub struct CellInput {
pub fact: Option<String>,
pub facts: Option<Vec<String>>,
}Expand description
CellInput object contains the data needed to create or update cells in a table.
CellInput object has only a facts field or a fact field, but not both. A 400 bad request will be thrown if both fact and facts field are present.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.fact: Option<String>Fact represents the data that is entered into a cell. This data can be free text or a formula. Formulas need to start with the equals (=) sign.
facts: Option<Vec<String>>A list representing the values that are entered into a ROWSET cell. Facts list can have either only values or rowIDs, and rowIDs should from the same table.
Implementations§
source§impl CellInput
impl CellInput
sourcepub fn fact(&self) -> Option<&str>
pub fn fact(&self) -> Option<&str>
Fact represents the data that is entered into a cell. This data can be free text or a formula. Formulas need to start with the equals (=) sign.
sourcepub fn facts(&self) -> &[String]
pub fn facts(&self) -> &[String]
A list representing the values that are entered into a ROWSET cell. Facts list can have either only values or rowIDs, and rowIDs should from the same table.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .facts.is_none().
Trait Implementations§
source§impl PartialEq for CellInput
impl PartialEq for CellInput
impl StructuralPartialEq for CellInput
Auto Trait Implementations§
impl Freeze for CellInput
impl RefUnwindSafe for CellInput
impl Send for CellInput
impl Sync for CellInput
impl Unpin for CellInput
impl UnwindSafe for CellInput
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
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>
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>
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