pub struct QueryEventBuilder { /* private fields */ }Expand description
Builder for creating KERI query events
Implementations§
Source§impl QueryEventBuilder
impl QueryEventBuilder
Sourcepub fn with_route(self, route: String) -> Self
pub fn with_route(self, route: String) -> Self
Set the route
Parameters: route - namespaced path, ‘/’ delimited, that indicates data flow handler (behavior) to process the query
Sourcepub fn with_reply_route(self, reply_route: String) -> Self
pub fn with_reply_route(self, reply_route: String) -> Self
Set the reply route
Parameters: reply_route - namespaced path, ‘/’ delimited, that indicates data flow handler (behavior) to process reply message to query if any
Sourcepub fn with_query(self, query: IndexMap<String, SadValue>) -> Self
pub fn with_query(self, query: IndexMap<String, SadValue>) -> Self
Set the query data parameters
Sourcepub fn with_stamp(self, stamp: String) -> Self
pub fn with_stamp(self, stamp: String) -> Self
Set the timestamp
Parameters: stamp - date-time-stamp RFC-3339 profile of ISO-8601 datetime of creation of message
Sourcepub fn with_version(self, version: String) -> Self
pub fn with_version(self, version: String) -> Self
Set the version string
Auto Trait Implementations§
impl Freeze for QueryEventBuilder
impl RefUnwindSafe for QueryEventBuilder
impl Send for QueryEventBuilder
impl Sync for QueryEventBuilder
impl Unpin for QueryEventBuilder
impl UnsafeUnpin for QueryEventBuilder
impl UnwindSafe for QueryEventBuilder
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