pub struct JsonGenerate {
pub from: u32,
pub subscripts: Vec<IntExpr>,
pub nodes: Vec<JsonNode>,
pub name: Option<u32>,
pub receiver: u32,
pub encoding: Ccsid,
pub count: Option<(u32, StorePlan)>,
pub code: (u32, StorePlan),
pub on_exception: bool,
pub not_on_exception: bool,
}Expand description
JSON GENERATE. In order: FROM is located, its subscripts evaluated, which begin the walk’s
subscripts (IntExpr::Walk), and the tree walked from nodes[0]; then the receiver is located,
the encoding read, the document written, COUNT IN and JSON-CODE stored.
Fields§
§from: u32FROM, or its table’s first element when it names the whole table.
subscripts: Vec<IntExpr>§nodes: Vec<JsonNode>nodes[0] is FROM, with occurs when FROM names a whole table.
name: Option<u32>The name the document wraps FROM’s value in, as a JSON string; None for NAME … OMITTED.
receiver: u32§encoding: Ccsid§count: Option<(u32, StorePlan)>§code: (u32, StorePlan)§on_exception: bool§not_on_exception: boolTrait Implementations§
Source§impl Clone for JsonGenerate
impl Clone for JsonGenerate
Source§fn clone(&self) -> JsonGenerate
fn clone(&self) -> JsonGenerate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsonGenerate
impl Debug for JsonGenerate
Source§impl Decode for JsonGenerate
impl Decode for JsonGenerate
fn decode(r: &mut Reader<'_>) -> Result<JsonGenerate, ModuleError>
impl Eq for JsonGenerate
Source§impl PartialEq for JsonGenerate
impl PartialEq for JsonGenerate
impl StructuralPartialEq for JsonGenerate
Auto Trait Implementations§
impl Freeze for JsonGenerate
impl RefUnwindSafe for JsonGenerate
impl Send for JsonGenerate
impl Sync for JsonGenerate
impl Unpin for JsonGenerate
impl UnsafeUnpin for JsonGenerate
impl UnwindSafe for JsonGenerate
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