[−][src]Struct json_surf::registry::SurferBuilder
Builder struct for Surfer
Implementations
impl SurferBuilder
[src]
Provides access to Surfer
pub fn resolve_schemas(&self) -> &HashMap<String, SurferSchema>
[src]
Surfer Schema
pub fn set_home(&mut self, home: &str)
[src]
Set home location - default is indexes
pub fn add_schema(&mut self, name: String, schema: SurferSchema)
[src]
Add a schema
pub fn add_struct<T: Serialize>(&mut self, name: String, data: &T)
[src]
Add a serializable rust struct panics otherwise
Trait Implementations
impl Clone for SurferBuilder
[src]
fn clone(&self) -> SurferBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SurferBuilder
[src]
impl Default for SurferBuilder
[src]
Default impl to get things going
impl Display for SurferBuilder
[src]
impl Eq for SurferBuilder
[src]
impl PartialEq<SurferBuilder> for SurferBuilder
[src]
fn eq(&self, other: &SurferBuilder) -> bool
[src]
fn ne(&self, other: &SurferBuilder) -> bool
[src]
impl StructuralEq for SurferBuilder
[src]
impl StructuralPartialEq for SurferBuilder
[src]
impl TryFrom<SurferBuilder> for Surf
[src]
type Error = IndexError
The type returned in the event of a conversion error.
fn try_from(builder: SurferBuilder) -> Result<Self, Self::Error>
[src]
impl TryFrom<SurferBuilder> for Surfer
[src]
type Error = IndexError
The type returned in the event of a conversion error.
fn try_from(builder: SurferBuilder) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for SurferBuilder
impl Send for SurferBuilder
impl Sync for SurferBuilder
impl Unpin for SurferBuilder
impl UnwindSafe for SurferBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
pub fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T> Fruit for T where
T: Send + Downcast,
[src]
T: Send + Downcast,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,