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()
.