#[non_exhaustive]pub struct Args {
pub category: Option<i64>,
pub description: Option<String>,
pub imports: Vec<Id<Library>>,
pub name: Option<String>,
pub source_code: String,
pub tags: Vec<String>,
}
Expand description
Arguments used to create a new BigML script.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.category: Option<i64>
The category code which best describes this script.
description: Option<String>
A human-readable description of this script.
imports: Vec<Id<Library>>
A list of “library/…” identifiers to import.
name: Option<String>
A human-readable name for this script.
source_code: String
The source code of this script.
User-defined tags.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
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