pub struct EnableEdgeCacheRequest {
pub capacity: NodeCapacityDto,
}Expand description
Body for POST /api/v1/nodes/{node_id}/edge-cache.
Fields§
§capacity: NodeCapacityDtoCapacity this node is willing to contribute to the edge cache.
Trait Implementations§
Source§impl Clone for EnableEdgeCacheRequest
impl Clone for EnableEdgeCacheRequest
Source§fn clone(&self) -> EnableEdgeCacheRequest
fn clone(&self) -> EnableEdgeCacheRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for EnableEdgeCacheRequest
impl ComposeSchema for EnableEdgeCacheRequest
Source§impl Debug for EnableEdgeCacheRequest
impl Debug for EnableEdgeCacheRequest
Source§impl<'de> Deserialize<'de> for EnableEdgeCacheRequest
impl<'de> Deserialize<'de> for EnableEdgeCacheRequest
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 Serialize for EnableEdgeCacheRequest
impl Serialize for EnableEdgeCacheRequest
Auto Trait Implementations§
impl Freeze for EnableEdgeCacheRequest
impl RefUnwindSafe for EnableEdgeCacheRequest
impl Send for EnableEdgeCacheRequest
impl Sync for EnableEdgeCacheRequest
impl Unpin for EnableEdgeCacheRequest
impl UnsafeUnpin for EnableEdgeCacheRequest
impl UnwindSafe for EnableEdgeCacheRequest
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