Struct fluvio_sc_schema::customspu::CustomSpuSpec
source · [−]pub struct CustomSpuSpec {
pub id: i32,
pub public_endpoint: IngressPort,
pub private_endpoint: Endpoint,
pub rack: Option<String>,
}
Expand description
Custom Spu Spec This is not real spec since when this is stored on metadata store, it will be stored as SPU
Fields
id: i32
public_endpoint: IngressPort
private_endpoint: Endpoint
rack: Option<String>
Implementations
sourceimpl CustomSpuSpec
impl CustomSpuSpec
Trait Implementations
sourceimpl AdminSpec for CustomSpuSpec
impl AdminSpec for CustomSpuSpec
type ListFilter = String
type ListType = Metadata<CustomSpuSpec>
type WatchResponseType = CustomSpuSpec
sourcefn convert_from<C: MetadataItem>(
obj: &MetadataStoreObject<Self, C>
) -> Self::ListType where
<Self as AdminSpec>::ListType: From<MetadataStoreObject<Self, C>>,
fn convert_from<C: MetadataItem>(
obj: &MetadataStoreObject<Self, C>
) -> Self::ListType where
<Self as AdminSpec>::ListType: From<MetadataStoreObject<Self, C>>,
convert metadata object to list type object
sourceimpl Clone for CustomSpuSpec
impl Clone for CustomSpuSpec
sourcefn clone(&self) -> CustomSpuSpec
fn clone(&self) -> CustomSpuSpec
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl CreatableAdminSpec for CustomSpuSpec
impl CreatableAdminSpec for CustomSpuSpec
const CREATE_TYPE: u8 = 1u8
sourceimpl Debug for CustomSpuSpec
impl Debug for CustomSpuSpec
sourceimpl Decoder for CustomSpuSpec
impl Decoder for CustomSpuSpec
sourceimpl Default for CustomSpuSpec
impl Default for CustomSpuSpec
sourcefn default() -> CustomSpuSpec
fn default() -> CustomSpuSpec
Returns the “default value” for a type. Read more
sourceimpl DeletableAdminSpec for CustomSpuSpec
impl DeletableAdminSpec for CustomSpuSpec
type DeleteKey = CustomSpuKey
sourceimpl Encoder for CustomSpuSpec
impl Encoder for CustomSpuSpec
sourceimpl From<CustomSpuSpec> for SpuSpec
impl From<CustomSpuSpec> for SpuSpec
sourcefn from(spec: CustomSpuSpec) -> SpuSpec
fn from(spec: CustomSpuSpec) -> SpuSpec
Converts to this type from the input type.
sourceimpl From<SpuSpec> for CustomSpuSpec
impl From<SpuSpec> for CustomSpuSpec
sourcefn from(spu: SpuSpec) -> CustomSpuSpec
fn from(spu: SpuSpec) -> CustomSpuSpec
Converts to this type from the input type.
sourceimpl PartialEq<CustomSpuSpec> for CustomSpuSpec
impl PartialEq<CustomSpuSpec> for CustomSpuSpec
sourcefn eq(&self, other: &CustomSpuSpec) -> bool
fn eq(&self, other: &CustomSpuSpec) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CustomSpuSpec) -> bool
fn ne(&self, other: &CustomSpuSpec) -> bool
This method tests for !=
.
sourceimpl Removable for CustomSpuSpec
impl Removable for CustomSpuSpec
type DeleteKey = CustomSpuKey
sourceimpl Spec for CustomSpuSpec
impl Spec for CustomSpuSpec
this is not real spec but is there to allow passing of parameters
sourceimpl SpecExt for CustomSpuSpec
impl SpecExt for CustomSpuSpec
const OBJECT_TYPE: ObjectType = ObjectType::CustomSpu
impl Creatable for CustomSpuSpec
impl StructuralPartialEq for CustomSpuSpec
Auto Trait Implementations
impl RefUnwindSafe for CustomSpuSpec
impl Send for CustomSpuSpec
impl Sync for CustomSpuSpec
impl Unpin for CustomSpuSpec
impl UnwindSafe for CustomSpuSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more