Struct bluerobotics_ping::bluebps::SetCurrentMaxStruct
source · pub struct SetCurrentMaxStruct {
pub limit: u16,
}Expand description
Set the maximum allowed battery current
Fields§
§limit: u16The maximum allowed battery current 0~20000 = 0~200A
Trait Implementations§
source§impl Clone for SetCurrentMaxStruct
impl Clone for SetCurrentMaxStruct
source§fn clone(&self) -> SetCurrentMaxStruct
fn clone(&self) -> SetCurrentMaxStruct
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 SetCurrentMaxStruct
impl Debug for SetCurrentMaxStruct
source§impl Default for SetCurrentMaxStruct
impl Default for SetCurrentMaxStruct
source§fn default() -> SetCurrentMaxStruct
fn default() -> SetCurrentMaxStruct
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SetCurrentMaxStruct
impl<'de> Deserialize<'de> for SetCurrentMaxStruct
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 DeserializePayload for SetCurrentMaxStruct
impl DeserializePayload for SetCurrentMaxStruct
fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetCurrentMaxStruct
impl MessageInfo for SetCurrentMaxStruct
source§impl PartialEq for SetCurrentMaxStruct
impl PartialEq for SetCurrentMaxStruct
source§fn eq(&self, other: &SetCurrentMaxStruct) -> bool
fn eq(&self, other: &SetCurrentMaxStruct) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SetCurrentMaxStruct
impl Serialize for SetCurrentMaxStruct
impl StructuralPartialEq for SetCurrentMaxStruct
Auto Trait Implementations§
impl Freeze for SetCurrentMaxStruct
impl RefUnwindSafe for SetCurrentMaxStruct
impl Send for SetCurrentMaxStruct
impl Sync for SetCurrentMaxStruct
impl Unpin for SetCurrentMaxStruct
impl UnwindSafe for SetCurrentMaxStruct
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