#[non_exhaustive]pub struct Routine {
pub routine_type: RoutineType,
pub definition_body: String,
/* private fields */
}Expand description
Represents a bigquery routine.
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.routine_type: RoutineTypeRequired. The type of routine.
definition_body: StringOptional. The definition body of the routine.
Implementations§
Source§impl Routine
impl Routine
pub fn new() -> Self
Sourcepub fn set_routine_type<T: Into<RoutineType>>(self, v: T) -> Self
pub fn set_routine_type<T: Into<RoutineType>>(self, v: T) -> Self
Sets the value of routine_type.
Sourcepub fn set_definition_body<T: Into<String>>(self, v: T) -> Self
pub fn set_definition_body<T: Into<String>>(self, v: T) -> Self
Sets the value of definition_body.
Trait Implementations§
impl StructuralPartialEq for Routine
Auto Trait Implementations§
impl Freeze for Routine
impl RefUnwindSafe for Routine
impl Send for Routine
impl Sync for Routine
impl Unpin for Routine
impl UnwindSafe for Routine
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