pub struct ParamSet { /* private fields */ }
Expand description
Collection of friendly-named SIP request parameters for common tasks.
This is not a complete set of friendly-ified parameters. Just a start.
Implementations§
source§impl ParamSet
impl ParamSet
pub fn new() -> Self
pub fn institution(&self) -> Option<&str>
pub fn terminal_pwd(&self) -> Option<&str>
pub fn sip_user(&self) -> Option<&str>
pub fn sip_pass(&self) -> Option<&str>
pub fn location(&self) -> Option<&str>
pub fn patron_id(&self) -> Option<&str>
pub fn patron_pwd(&self) -> Option<&str>
pub fn item_id(&self) -> Option<&str>
pub fn start_item(&self) -> Option<usize>
pub fn end_item(&self) -> Option<usize>
pub fn summary(&self) -> Option<usize>
pub fn pay_amount(&self) -> Option<&str>
pub fn transaction_id(&self) -> Option<&str>
pub fn fee_id(&self) -> Option<&str>
pub fn pay_type(&self) -> Option<PayType>
pub fn fee_type(&self) -> Option<FeeType>
pub fn set_institution(&mut self, value: &str) -> &mut Self
pub fn set_terminal_pwd(&mut self, value: &str) -> &mut Self
pub fn set_sip_user(&mut self, value: &str) -> &mut Self
pub fn set_sip_pass(&mut self, value: &str) -> &mut Self
pub fn set_location(&mut self, value: &str) -> &mut Self
pub fn set_patron_id(&mut self, value: &str) -> &mut Self
pub fn set_patron_pwd(&mut self, value: &str) -> &mut Self
pub fn set_item_id(&mut self, value: &str) -> &mut Self
pub fn set_start_item(&mut self, value: usize) -> &mut Self
pub fn set_end_item(&mut self, value: usize) -> &mut Self
pub fn set_summary(&mut self, value: usize) -> &mut Self
pub fn set_pay_amount(&mut self, amount: &str) -> &mut Self
pub fn set_transaction_id(&mut self, id: &str) -> &mut Self
pub fn set_fee_id(&mut self, id: &str) -> &mut Self
pub fn set_pay_type(&mut self, pt: PayType) -> &mut Self
pub fn set_fee_type(&mut self, pt: FeeType) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParamSet
impl RefUnwindSafe for ParamSet
impl Send for ParamSet
impl Sync for ParamSet
impl Unpin for ParamSet
impl UnwindSafe for ParamSet
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)