Struct fluvio_sc_schema::spu::SpuSpec [−][src]
pub struct SpuSpec { pub id: i32, pub spu_type: SpuType, pub public_endpoint: IngressPort, pub private_endpoint: Endpoint, pub rack: Option<String>, }
Fields
id: i32
spu_type: SpuType
public_endpoint: IngressPort
private_endpoint: Endpoint
rack: Option<String>
Implementations
impl SpuSpec
[src]
impl SpuSpec
[src]pub fn new_public_addr(id: i32, port: u16, host: String) -> SpuSpec
[src]
pub fn new_private_addr(id: i32, port: u16, host: String) -> SpuSpec
[src]
pub fn set_custom(self) -> SpuSpec
[src]
pub fn private_server_address(&self) -> ServerAddress
[src]
pub fn update(&mut self, other: &SpuSpec)
[src]
Trait Implementations
impl From<CustomSpuSpec> for SpuSpec
[src]
impl From<CustomSpuSpec> for SpuSpec
[src]pub fn from(spec: CustomSpuSpec) -> SpuSpec
[src]
pub fn from(spec: CustomSpuSpec) -> SpuSpec
[src]Performs the conversion.
impl From<SpuSpec> for CustomSpuSpec
[src]
impl From<SpuSpec> for CustomSpuSpec
[src]pub fn from(spu: SpuSpec) -> CustomSpuSpec
[src]
pub fn from(spu: SpuSpec) -> CustomSpuSpec
[src]Performs the conversion.
impl ListSpec for SpuSpec
[src]
impl ListSpec for SpuSpec
[src]type Filter = NameFilter
type Filter = NameFilter
filter type
fn into_list_request(filters: Vec<Self::Filter>) -> ListRequest
[src]
fn into_list_request(filters: Vec<Self::Filter>) -> ListRequest
[src]convert to list request with filters
impl SpecExt for SpuSpec
[src]
impl SpecExt for SpuSpec
[src]pub const OBJECT_TYPE: ObjectType
[src]
impl StructuralPartialEq for SpuSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for SpuSpec
impl Send for SpuSpec
impl Sync for SpuSpec
impl Unpin for SpuSpec
impl UnwindSafe for SpuSpec
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more