#[non_exhaustive]pub struct SparkHistoryServerConfig {
pub dataproc_cluster: String,
/* private fields */
}Expand description
Configuration of the Spark History Server.
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.dataproc_cluster: StringOptional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the connection.
Example:
projects/[project_id]/regions/[region]/clusters/[cluster_name]
Implementations§
Source§impl SparkHistoryServerConfig
impl SparkHistoryServerConfig
pub fn new() -> Self
Sourcepub fn set_dataproc_cluster<T: Into<String>>(self, v: T) -> Self
pub fn set_dataproc_cluster<T: Into<String>>(self, v: T) -> Self
Sets the value of dataproc_cluster.
Trait Implementations§
Source§impl Clone for SparkHistoryServerConfig
impl Clone for SparkHistoryServerConfig
Source§fn clone(&self) -> SparkHistoryServerConfig
fn clone(&self) -> SparkHistoryServerConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SparkHistoryServerConfig
impl Debug for SparkHistoryServerConfig
Source§impl Default for SparkHistoryServerConfig
impl Default for SparkHistoryServerConfig
Source§fn default() -> SparkHistoryServerConfig
fn default() -> SparkHistoryServerConfig
Returns the “default value” for a type. Read more
Source§impl Message for SparkHistoryServerConfig
impl Message for SparkHistoryServerConfig
Source§impl PartialEq for SparkHistoryServerConfig
impl PartialEq for SparkHistoryServerConfig
impl StructuralPartialEq for SparkHistoryServerConfig
Auto Trait Implementations§
impl Freeze for SparkHistoryServerConfig
impl RefUnwindSafe for SparkHistoryServerConfig
impl Send for SparkHistoryServerConfig
impl Sync for SparkHistoryServerConfig
impl Unpin for SparkHistoryServerConfig
impl UnwindSafe for SparkHistoryServerConfig
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