pub struct FlinkCluster {
pub job_manager: Option<FlinkJobManager>,
pub task_manager: Option<FlinkTaskManager>,
pub version: String,
pub zone: String,
}Expand description
FlinkCluster
JSON schema
{
"examples": [
{
"jobManager": {
"cpus": 0.3,
"mem": 1024
},
"taskManager": {
"cpus": 0.3,
"instances": 2,
"mem": 3072
},
"version": "version",
"zone": "zone"
}
],
"type": "object",
"required": [
"version",
"zone"
],
"properties": {
"jobManager": {
"$ref": "#/components/schemas/FlinkJobManager"
},
"taskManager": {
"$ref": "#/components/schemas/FlinkTaskManager"
},
"version": {
"description": "Flink version",
"type": "string"
},
"zone": {
"description": "Network zone this cluster needs to run in. /components/schemas/Zone contains a list of available network zones in this platform.",
"type": "string"
}
}
}Fields§
§job_manager: Option<FlinkJobManager>§task_manager: Option<FlinkTaskManager>§version: StringFlink version
zone: StringNetwork zone this cluster needs to run in. /components/schemas/Zone contains a list of available network zones in this platform.
Trait Implementations§
Source§impl Clone for FlinkCluster
impl Clone for FlinkCluster
Source§fn clone(&self) -> FlinkCluster
fn clone(&self) -> FlinkCluster
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 FlinkCluster
impl Debug for FlinkCluster
Source§impl<'de> Deserialize<'de> for FlinkCluster
impl<'de> Deserialize<'de> for FlinkCluster
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&FlinkCluster> for FlinkCluster
impl From<&FlinkCluster> for FlinkCluster
Source§fn from(value: &FlinkCluster) -> Self
fn from(value: &FlinkCluster) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FlinkCluster
impl PartialEq for FlinkCluster
Source§impl Serialize for FlinkCluster
impl Serialize for FlinkCluster
impl StructuralPartialEq for FlinkCluster
Auto Trait Implementations§
impl Freeze for FlinkCluster
impl RefUnwindSafe for FlinkCluster
impl Send for FlinkCluster
impl Sync for FlinkCluster
impl Unpin for FlinkCluster
impl UnwindSafe for FlinkCluster
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more