File tree 16 files changed +17
-17
lines changed
16 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ pub struct TestTimer {
130
130
}
131
131
132
132
impl TestTimer {
133
- /// Creates a new `TestTimer`.
133
+ /// Creates a new `TestTimer` instance .
134
134
pub fn new (
135
135
name : & str ,
136
136
interval_ns : u64 ,
@@ -233,7 +233,7 @@ pub struct LiveTimer {
233
233
}
234
234
235
235
impl LiveTimer {
236
- /// Creates a new `LiveTimer`.
236
+ /// Creates a new `LiveTimer` instance .
237
237
pub fn new (
238
238
name : & str ,
239
239
interval_ns : u64 ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ pub struct UUID4 {
43
43
}
44
44
45
45
impl UUID4 {
46
- /// Creates a new `UUID4`.
46
+ /// Creates a new `UUID4` instance .
47
47
#[ must_use]
48
48
pub fn new ( ) -> Self {
49
49
let uuid = Uuid :: new_v4 ( ) ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ use super::venue::Venue;
39
39
pub struct AccountId ( Ustr ) ;
40
40
41
41
impl AccountId {
42
- /// Creates a new `AccountId` instance from the given identifier value .
42
+ /// Creates a new `AccountId` instance.
43
43
///
44
44
/// # Panics
45
45
///
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ use ustr::Ustr;
31
31
pub struct ClientId ( Ustr ) ;
32
32
33
33
impl ClientId {
34
- /// Creates a new `ClientId` instance from the given identifier value .
34
+ /// Creates a new `ClientId` instance.
35
35
///
36
36
/// # Panics
37
37
///
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ use ustr::Ustr;
31
31
pub struct ClientOrderId ( Ustr ) ;
32
32
33
33
impl ClientOrderId {
34
- /// Creates a new `ClientOrderId` instance from the given identifier value .
34
+ /// Creates a new `ClientOrderId` instance.
35
35
///
36
36
/// # Panics
37
37
///
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ use ustr::Ustr;
31
31
pub struct ComponentId ( Ustr ) ;
32
32
33
33
impl ComponentId {
34
- /// Creates a new `ComponentId` instance from the given identifier value .
34
+ /// Creates a new `ComponentId` instance.
35
35
///
36
36
/// # Panics
37
37
///
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ use ustr::Ustr;
31
31
pub struct ExecAlgorithmId ( Ustr ) ;
32
32
33
33
impl ExecAlgorithmId {
34
- /// Creates a new `ExecAlgorithmId` instance from the given identifier value .
34
+ /// Creates a new `ExecAlgorithmId` instance.
35
35
///
36
36
/// # Panics
37
37
///
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ pub struct InstrumentId {
40
40
}
41
41
42
42
impl InstrumentId {
43
- /// Creates a new `InstrumentId` instance from the given `Symbol` and `Venue` .
43
+ /// Creates a new `InstrumentId` instance.
44
44
#[ must_use]
45
45
pub fn new ( symbol : Symbol , venue : Venue ) -> Self {
46
46
Self { symbol, venue }
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ use ustr::Ustr;
31
31
pub struct OrderListId ( Ustr ) ;
32
32
33
33
impl OrderListId {
34
- /// Creates a new `OrderListId` instance from the given identifier value .
34
+ /// Creates a new `OrderListId` instance.
35
35
///
36
36
/// # Panics
37
37
///
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ use ustr::Ustr;
31
31
pub struct PositionId ( Ustr ) ;
32
32
33
33
impl PositionId {
34
- /// Creates a new `PositionId` instance from the given identifier value .
34
+ /// Creates a new `PositionId` instance.
35
35
///
36
36
/// # Panics
37
37
///
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ const EXTERNAL_STRATEGY_ID: &str = "EXTERNAL";
40
40
pub struct StrategyId ( Ustr ) ;
41
41
42
42
impl StrategyId {
43
- /// Creates a new `StrategyId` instance from the given identifier value .
43
+ /// Creates a new `StrategyId` instance.
44
44
///
45
45
/// # Panics
46
46
///
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ use ustr::Ustr;
31
31
pub struct Symbol ( Ustr ) ;
32
32
33
33
impl Symbol {
34
- /// Creates a new `Symbol` instance from the given identifier value .
34
+ /// Creates a new `Symbol` instance.
35
35
///
36
36
/// # Panics
37
37
///
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ pub struct TradeId {
45
45
}
46
46
47
47
impl TradeId {
48
- /// Creates a new `TradeId` instance from the given identifier value .
48
+ /// Creates a new `TradeId` instance.
49
49
///
50
50
/// # Panics
51
51
///
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ use ustr::Ustr;
37
37
pub struct TraderId ( Ustr ) ;
38
38
39
39
impl TraderId {
40
- /// Creates a new `TraderId` instance from the given identifier value .
40
+ /// Creates a new `TraderId` instance.
41
41
///
42
42
/// # Panics
43
43
///
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ pub const SYNTHETIC_VENUE: &str = "SYNTH";
35
35
pub struct Venue ( Ustr ) ;
36
36
37
37
impl Venue {
38
- /// Creates a new `Venue` instance from the given identifier value .
38
+ /// Creates a new `Venue` instance.
39
39
///
40
40
/// # Panics
41
41
///
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ use ustr::Ustr;
31
31
pub struct VenueOrderId ( Ustr ) ;
32
32
33
33
impl VenueOrderId {
34
- /// Creates a new `VenueOrderId` instance from the given identifier value .
34
+ /// Creates a new `VenueOrderId` instance.
35
35
///
36
36
/// # Panics
37
37
///
You can’t perform that action at this time.
0 commit comments