pub struct AnchorSet {
pub set_id: String,
pub title: String,
pub provider_id: String,
pub map_frame: FrameRef,
pub version: String,
pub tags: Vec<String>,
pub center_lat: f64,
pub center_lon: f64,
pub radius_m: f64,
pub anchors: Vec<AnchorEntry>,
pub stamp: Time,
pub checksum: String,
}Fields§
§set_id: String§title: String§provider_id: String§map_frame: FrameRef§version: String§center_lat: f64§center_lon: f64§radius_m: f64§anchors: Vec<AnchorEntry>§stamp: Time§checksum: StringImplementations§
Source§impl AnchorSet
impl AnchorSet
pub fn encode(&self, w: &mut Writer) -> Result<(), WireError>
pub fn decode(r: &mut Reader<'_>) -> Result<Self, WireError>
pub fn key_holder_be(&self) -> Result<Vec<u8>, WireError>
pub fn key_from_holder_be(r: &mut Reader<'_>) -> Result<Self, WireError>
pub fn key_hash(&self) -> Result<[u8; 16], WireError>
Trait Implementations§
impl StructuralPartialEq for AnchorSet
Auto Trait Implementations§
impl Freeze for AnchorSet
impl RefUnwindSafe for AnchorSet
impl Send for AnchorSet
impl Sync for AnchorSet
impl Unpin for AnchorSet
impl UnsafeUnpin for AnchorSet
impl UnwindSafe for AnchorSet
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