pub struct LocationRecord {
pub url: String,
}Expand description
Service Endpoint Record with url for endpoint of a given scheme
The eid is usually a nontransferable identifier when its used for roles witness or watcher but may be transferable for other roles such as controller, judge, juror, public watcher, or registrar.
Database Keys are (eid, scheme) where eid is service endpoint identifier (qb64 prefix) and scheme is the url protocol scheme (tcp, https).
A loc reply message is required from which the values of this database record are extracted. route is /loc/scheme Uses enact-anul model To nullify endpoint set url field to empty.
An end authorization reply message is also required to authorize the eid as endpoint provider for cid at role. See EndpointRecord
Fields§
§url: StringFull url including host:port/path?query scheme is optional
Implementations§
Trait Implementations§
Source§impl Clone for LocationRecord
impl Clone for LocationRecord
Source§fn clone(&self) -> LocationRecord
fn clone(&self) -> LocationRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LocationRecord
impl Debug for LocationRecord
Source§impl<'de> Deserialize<'de> for LocationRecord
impl<'de> Deserialize<'de> for LocationRecord
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>,
impl Eq for LocationRecord
Source§impl IntoIterator for LocationRecord
impl IntoIterator for LocationRecord
Source§impl PartialEq for LocationRecord
impl PartialEq for LocationRecord
Source§impl Serialize for LocationRecord
impl Serialize for LocationRecord
impl StructuralPartialEq for LocationRecord
Auto Trait Implementations§
impl Freeze for LocationRecord
impl RefUnwindSafe for LocationRecord
impl Send for LocationRecord
impl Sync for LocationRecord
impl Unpin for LocationRecord
impl UnsafeUnpin for LocationRecord
impl UnwindSafe for LocationRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.