Struct pulsar_admin_sdk::models::memory_limit::MemoryLimit
source · pub struct MemoryLimit {
pub absolute_value: Option<i64>,
pub percent_of_max_direct_memory: Option<f64>,
}Fields§
§absolute_value: Option<i64>§percent_of_max_direct_memory: Option<f64>Implementations§
source§impl MemoryLimit
impl MemoryLimit
pub fn new() -> MemoryLimit
Trait Implementations§
source§impl Clone for MemoryLimit
impl Clone for MemoryLimit
source§fn clone(&self) -> MemoryLimit
fn clone(&self) -> MemoryLimit
Returns a copy 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 MemoryLimit
impl Debug for MemoryLimit
source§impl Default for MemoryLimit
impl Default for MemoryLimit
source§fn default() -> MemoryLimit
fn default() -> MemoryLimit
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MemoryLimit
impl<'de> Deserialize<'de> for MemoryLimit
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 PartialEq for MemoryLimit
impl PartialEq for MemoryLimit
source§fn eq(&self, other: &MemoryLimit) -> bool
fn eq(&self, other: &MemoryLimit) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MemoryLimit
impl Serialize for MemoryLimit
impl StructuralPartialEq for MemoryLimit
Auto Trait Implementations§
impl RefUnwindSafe for MemoryLimit
impl Send for MemoryLimit
impl Sync for MemoryLimit
impl Unpin for MemoryLimit
impl UnwindSafe for MemoryLimit
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