Struct ipfs_api_backend_hyper::request::NamePublish
source · pub struct NamePublish<'a, 'b, 'c, 'd> {
pub path: &'a str,
pub resolve: bool,
pub lifetime: Option<&'b str>,
pub ttl: Option<&'c str>,
pub key: Option<&'d str>,
}
Fields§
§path: &'a str
§resolve: bool
§lifetime: Option<&'b str>
§ttl: Option<&'c str>
§key: Option<&'d str>
Trait Implementations§
source§impl<'a, 'b, 'c, 'd> ApiRequest for NamePublish<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> ApiRequest for NamePublish<'a, 'b, 'c, 'd>
source§impl<'a, 'b, 'c, 'd> Serialize for NamePublish<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> Serialize for NamePublish<'a, 'b, 'c, 'd>
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more