Struct fluvio::metadata::spu::SpuSpec [−]
pub struct SpuSpec {
pub id: i32,
pub spu_type: SpuType,
pub public_endpoint: IngressPort,
pub private_endpoint: Endpoint,
pub rack: Option<String>,
pub public_endpoint_local: Option<Endpoint>,
}
Fields
id: i32
spu_type: SpuType
public_endpoint: IngressPort
private_endpoint: Endpoint
rack: Option<String>
public_endpoint_local: Option<Endpoint>
Implementations
impl SpuSpec
impl SpuSpec
pub fn new_public_addr(id: i32, port: u16, host: String) -> SpuSpec
pub fn new_private_addr(id: i32, port: u16, host: String) -> SpuSpec
pub fn set_custom(self) -> SpuSpec
pub fn private_server_address(&self) -> ServerAddress
Trait Implementations
impl From<CustomSpuSpec> for SpuSpec
impl From<CustomSpuSpec> for SpuSpec
pub fn from(spec: CustomSpuSpec) -> SpuSpec
pub fn from(spec: CustomSpuSpec) -> SpuSpec
Performs the conversion.
impl From<SpuSpec> for CustomSpuSpec
impl From<SpuSpec> for CustomSpuSpec
pub fn from(spu: SpuSpec) -> CustomSpuSpec
pub fn from(spu: SpuSpec) -> CustomSpuSpec
Performs the conversion.
convert to list request with filters
impl SpecExt for SpuSpec
impl SpecExt for SpuSpec
pub const OBJECT_TYPE: ObjectType
impl StructuralPartialEq for SpuSpec
Auto Trait Implementations
impl RefUnwindSafe for SpuSpec
impl UnwindSafe for SpuSpec
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more