[−][src]Struct safe_api::NrsMap
Fields
sub_names_map: SubNamesMap
default: DefaultRdf
Methods
impl NrsMap
[src]
pub fn get_default(&self) -> ResultReturn<&DefaultRdf>
[src]
pub fn resolve_for_subnames(
&self,
sub_names: Vec<String>
) -> ResultReturn<XorUrl>
[src]
&self,
sub_names: Vec<String>
) -> ResultReturn<XorUrl>
pub fn get_default_link(&self) -> ResultReturn<XorUrl>
[src]
pub fn nrs_map_remove_subname(&mut self, name: &str) -> ResultReturn<String>
[src]
pub fn nrs_map_update_or_create_data(
&mut self,
name: &str,
link: &str,
default: bool,
hard_link: bool
) -> ResultReturn<String>
[src]
&mut self,
name: &str,
link: &str,
default: bool,
hard_link: bool
) -> ResultReturn<String>
pub fn get_link_for(&self, sub_name: &str) -> ResultReturn<XorUrl>
[src]
pub fn get_map_summary(&self) -> BTreeMap<String, BTreeMap<String, String>>
[src]
Trait Implementations
impl Default for NrsMap
[src]
impl Clone for NrsMap
[src]
impl PartialEq<NrsMap> for NrsMap
[src]
impl Debug for NrsMap
[src]
impl Serialize for NrsMap
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for NrsMap
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for NrsMap
impl Unpin for NrsMap
impl Sync for NrsMap
impl UnwindSafe for NrsMap
impl RefUnwindSafe for NrsMap
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,
unsafe fn initialize(place: *mut T)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
fn clone_any(&self) -> Box<dyn CloneAny + 'static>
fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send> where
T: Send,
T: Send,
fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync> where
T: Sync,
T: Sync,
fn clone_any_send_sync(&self) -> Box<dyn CloneAny + 'static + Sync + Send> where
T: Send + Sync,
T: Send + Sync,
impl<T> UnsafeAny for T where
T: Any,
T: Any,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
T: Send + Sync + UnwindSafe + ?Sized,