pub struct Param { /* private fields */ }Implementations§
Source§impl Param
impl Param
pub fn new_param(name: impl ToString, value: impl AsRef<str>) -> Param
pub fn name(&self) -> &str
pub fn value_raw(&self) -> &str
pub fn value(&self) -> Result<String, RlsError>
pub fn into_value(self) -> Result<String, RlsError>
pub fn set_value(&mut self, value: impl AsRef<str>)
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Param
impl RefUnwindSafe for Param
impl Send for Param
impl Sync for Param
impl Unpin for Param
impl UnsafeUnpin for Param
impl UnwindSafe for Param
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