Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions wsdl_rs/ws_addr/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use std::str::FromStr;
use validate::Validate;
use xsd_macro_utils::*;
use yaserde_derive::{YaDeserialize, YaSerialize};
use xsd_macro_utils::UtilsDefaultSerde;

pub type EndpointReference = EndpointReferenceType;

Expand Down Expand Up @@ -85,14 +86,11 @@ pub type From = EndpointReferenceType;
pub type FaultTo = EndpointReferenceType;
pub type To = AttributedURIType;
pub type Action = AttributedURIType;
#[derive(Default, PartialEq, Debug, YaSerialize, YaDeserialize)]
#[yaserde(
prefix = "tns",
namespace = "tns: http://www.w3.org/2005/08/addressing"
)]
pub struct AttributedURIType {}

impl Validate for AttributedURIType {}


#[derive(Default, PartialEq, Debug, UtilsTupleIo, UtilsDefaultSerde)]
pub struct AttributedURIType(pub String);

pub type IsReferenceParameter = bool;
#[derive(PartialEq, Debug, UtilsUnionSerDe)]
Expand Down Expand Up @@ -149,4 +147,4 @@ pub struct ProblemActionType {
pub soap_action: Option<String>,
}

impl Validate for ProblemActionType {}
impl Validate for ProblemActionType {}