Struct nexus_rs::response::Response  
                   
                       [−]
                   
               [src]
pub struct Response<'a, T> {
    pub client: &'a Client,
    pub item: T,
}Fields
client: &'a Client
                           
                           
                           item: T
                           Methods
impl<'a> Response<'a, ContentMetadata>[src]
fn children(&self) -> Result<Vec<Self>, String>
fn with_children(self) -> Result<Vec<Self>, String>
fn descendants(&self) -> Result<Vec<Self>, String>
fn with_descendants(self) -> Result<Vec<Self>, String>
fn leaves(&self) -> Result<Vec<Self>, String>
impl<'a> Response<'a, Repository>[src]
fn content_metadata_children_at<'b>(&'b self,
                                    path: &str)
                                    -> Result<Vec<Response<'b, ContentMetadata>>, String>
path: &str)
-> Result<Vec<Response<'b, ContentMetadata>>, String>
fn all_content_metadata<'b>(&'b self)
                            -> Result<Vec<Response<'b, ContentMetadata>>, String>
-> Result<Vec<Response<'b, ContentMetadata>>, String>
fn content_at<'b>(&'b self,
                  path: &str)
                  -> Result<Response<'a, HyperResponse>, String>
path: &str)
-> Result<Response<'a, HyperResponse>, String>
Trait Implementations
impl<'a, T: Clone> Clone for Response<'a, T>[src]
fn clone(&self) -> Response<'a, T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'a, T: Debug> Debug for Response<'a, T>[src]
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl<'a, T> Deref for Response<'a, T>[src]
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &T
The method called to dereference a value
impl<'a, T: PartialEq> PartialEq for Response<'a, T>[src]
fn eq(&self, other: &Self) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.