pub struct CdrsClient<'a>(/* private fields */);Available on crate feature
client only.Expand description
Pulls CDRs from a CPO, and pushes them to an eMSP.
The CDRs module is the one place OCPI uses a server-owned POST:
POST … returns the URL to the new object in the
Locationheader.
Spec: 2.3.0 §mod_cdrs_cdrs_module
Implementations§
Source§impl<'a> CdrsClient<'a>
impl<'a> CdrsClient<'a>
Sourcepub const fn new(client: ModuleClient<'a>) -> Self
pub const fn new(client: ModuleClient<'a>) -> Self
Wraps a module client.
Trait Implementations§
Source§impl<'a> Clone for CdrsClient<'a>
impl<'a> Clone for CdrsClient<'a>
Source§fn clone(&self) -> CdrsClient<'a>
fn clone(&self) -> CdrsClient<'a>
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 moreAuto Trait Implementations§
impl<'a> !RefUnwindSafe for CdrsClient<'a>
impl<'a> !UnwindSafe for CdrsClient<'a>
impl<'a> Freeze for CdrsClient<'a>
impl<'a> Send for CdrsClient<'a>
impl<'a> Sync for CdrsClient<'a>
impl<'a> Unpin for CdrsClient<'a>
impl<'a> UnsafeUnpin for CdrsClient<'a>
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